summaryrefslogtreecommitdiffstats
path: root/resample.h
blob: 4e9fae3e69c46d1ac727bcb22c1249335f2649d3 (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 (*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);

resample_func_t get_resample_func(sa_pcm_format_t f);

#endif