diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-04-22 22:20:13 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-04-22 22:20:13 +0000 |
commit | 89fa345e9ee4778b5f0391b5ab1cfc043aadc1d9 (patch) | |
tree | f92b98e1686a7424a476bc20e6ee37ab3aa971dc /resample.h | |
parent | 783b56d54788f177881d68ae2ec7a7cb4bb38ac4 (diff) |
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.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 |