mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-16 06:59:55 -05:00
fix downsampling/resampling add support for U8 samples git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@49 fefdeb5f-60dc-0310-8127-8f9354f1896f
16 lines
472 B
C
16 lines
472 B
C
#ifndef fooresamplerhfoo
|
|
#define fooresamplerhfoo
|
|
|
|
#include "sample.h"
|
|
#include "memblock.h"
|
|
#include "memchunk.h"
|
|
|
|
struct pa_resampler;
|
|
|
|
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);
|
|
|
|
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);
|
|
|
|
#endif
|