From fce59d949c0a4767009a9db94f0af0903ff31be1 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 12 Mar 2011 01:53:00 +0000 Subject: sio spectrogram --- fifo.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 fifo.h (limited to 'fifo.h') diff --git a/fifo.h b/fifo.h new file mode 100644 index 0000000..63b6899 --- /dev/null +++ b/fifo.h @@ -0,0 +1,27 @@ +/* $Id$ */ +/* + * Copyright (c) 2010 Dimitri Sokolyuk + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef __FIFO_H +#define __FIFO_H + +struct fifo; + +struct fifo *init_fifo(size_t); +int wr_fifo(struct fifo *, double *, double *, size_t); +int rd_fifo(struct fifo *, double *, double *, size_t, double *); + +#endif -- cgit v1.2.3