summaryrefslogtreecommitdiffstats
path: root/resample.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-04-22 22:20:13 +0000
committerLennart Poettering <lennart@poettering.net>2004-04-22 22:20:13 +0000
commit89fa345e9ee4778b5f0391b5ab1cfc043aadc1d9 (patch)
treef92b98e1686a7424a476bc20e6ee37ab3aa971dc /resample.h
parent783b56d54788f177881d68ae2ec7a7cb4bb38ac4 (diff)
COmmit missing stuffHEADmaster
git-svn-id: file:///home/lennart/svn/public/vfax/trunk@4 541b366f-4dd8-0310-ae39-b2612fd50714
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