summaryrefslogtreecommitdiffstats
path: root/resample.h
diff options
context:
space:
mode:
Diffstat (limited to 'resample.h')
-rw-r--r--resample.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/resample.h b/resample.h
index a2905b3..e1ce8e6 100644
--- a/resample.h
+++ b/resample.h
@@ -1,11 +1,21 @@
#ifndef fooresamplehfoo
#define fooresamplehfoo
-struct resample_state;
+/* $Id$ */
+
+#include "interpol.h"
+#include "qbuf.h"
+
+struct resample_state {
+ float delta;
+
+ int sfreq, dfreq;
+ struct interpol_state interpol;
+};
void resample_init(struct resample_state *s);
void resample_done(struct resample_state *s);
-void resample_get(struct resample_state *s, float* sp, int *sl, float *dp, int *dl, int sfreq, int dfreq);
+void resample_get(struct resample_state *s, struct qbuf *sq, struct qbuf *dq, int sfreq, int dfreq);
#endif