aboutsummaryrefslogtreecommitdiff
path: root/fft.h
diff options
context:
space:
mode:
Diffstat (limited to 'fft.h')
-rw-r--r--fft.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fft.h b/fft.h
index 02b1a69..eeeaffd 100644
--- a/fft.h
+++ b/fft.h
@@ -19,10 +19,11 @@
#define __FFT_H
struct fft;
+enum fft_chan { FFT_LEFT, FFT_RIGHT };
__BEGIN_DECLS
-struct fft *init_fft(int);
-int exec_fft(struct fft *, int16_t *, double *, int);
+struct fft *init_fft(size_t);
+int exec_fft(struct fft *, int16_t *, double *, enum fft_chan);
void free_fft(struct fft *);
__END_DECLS