diff options
Diffstat (limited to 'resample.h')
-rw-r--r-- | resample.h | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -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 |