2004-07-02 18:47:03 +00:00
|
|
|
#ifndef fooresamplerhfoo
|
|
|
|
|
#define fooresamplerhfoo
|
|
|
|
|
|
|
|
|
|
#include "sample.h"
|
|
|
|
|
#include "memblock.h"
|
2004-07-03 00:19:17 +00:00
|
|
|
#include "memchunk.h"
|
2004-07-02 18:47:03 +00:00
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
struct pa_resampler;
|
2004-07-02 18:47:03 +00:00
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
struct pa_resampler* pa_resampler_new(const struct pa_sample_spec *a, const struct pa_sample_spec *b);
|
|
|
|
|
void pa_resampler_free(struct pa_resampler *r);
|
2004-07-02 18:47:03 +00:00
|
|
|
|
2004-07-03 23:35:12 +00:00
|
|
|
size_t pa_resampler_request(struct pa_resampler *r, size_t out_length);
|
|
|
|
|
void pa_resampler_run(struct pa_resampler *r, const struct pa_memchunk *in, struct pa_memchunk *out);
|
2004-07-02 18:47:03 +00:00
|
|
|
|
|
|
|
|
#endif
|