add resampler

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@44 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-07-02 18:47:03 +00:00
parent 961fb4466a
commit 13b35a2489
12 changed files with 357 additions and 16 deletions

14
src/sconv.h Normal file
View file

@ -0,0 +1,14 @@
#ifndef foosconvhfoo
#define foosconvhfoo
#include "sample.h"
typedef void (*convert_to_float32_func_t)(unsigned n, const void *a, unsigned an, float *b);
typedef void (*convert_from_float32_func_t)(unsigned n, const float *a, void *b, unsigned bn);
convert_to_float32_func_t get_convert_to_float32_function(enum pa_sample_format f);
convert_from_float32_func_t get_convert_from_float32_function(enum pa_sample_format f);
#endif