summaryrefslogtreecommitdiffstats
path: root/src/resample.h
blob: 7734f868a3adf61a1a7090e3bb5ce5a3fc47f2e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef foosydneyresamplehfoo
#define foosydneyresamplehfoo

#include <sys/types.h>
#include <inttypes.h>

#include "sydney.h"
#include "speex/speex_resampler.h"

typedef void (*sa_resample_func_t) (SpeexResamplerState *speex, unsigned channel, void *dst, size_t dstr, const void *src, size_t sstr, size_t in_bytes, size_t *out_bytes);

sa_resample_func_t sa_get_resample_func(sa_pcm_format_t f);

#endif