From 89fa345e9ee4778b5f0391b5ab1cfc043aadc1d9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 22 Apr 2004 22:20:13 +0000 Subject: COmmit missing stuff git-svn-id: file:///home/lennart/svn/public/vfax/trunk@4 541b366f-4dd8-0310-ae39-b2612fd50714 --- resample.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'resample.h') 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 -- cgit