mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-20 08:56:47 -05:00
add resampler
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@44 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
961fb4466a
commit
13b35a2489
12 changed files with 357 additions and 16 deletions
15
src/resampler.h
Normal file
15
src/resampler.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef fooresamplerhfoo
|
||||
#define fooresamplerhfoo
|
||||
|
||||
#include "sample.h"
|
||||
#include "memblock.h"
|
||||
|
||||
struct resampler;
|
||||
|
||||
struct resampler* resampler_new(const struct pa_sample_spec *a, const struct pa_sample_spec *b);
|
||||
void resampler_free(struct resampler *r);
|
||||
|
||||
size_t resampler_request(struct resampler *r, size_t out_length);
|
||||
int resampler_run(struct resampler *r, struct memchunk *in, struct memchunk *out);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue