mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
mix: Export function to get/set mixing implementation for a sample format
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
fe455ae013
commit
9fa000bbfc
2 changed files with 19 additions and 2 deletions
|
|
@ -51,6 +51,11 @@ size_t pa_mix(
|
|||
const pa_cvolume *volume,
|
||||
pa_bool_t mute);
|
||||
|
||||
typedef void (*pa_do_mix_func_t) (pa_mix_info streams[], unsigned nstreams, unsigned channels, void *data, void *end);
|
||||
|
||||
pa_do_mix_func_t pa_get_mix_func(pa_sample_format_t f);
|
||||
void pa_set_mix_func(pa_sample_format_t f, pa_do_mix_func_t func);
|
||||
|
||||
void pa_volume_memchunk(
|
||||
pa_memchunk*c,
|
||||
const pa_sample_spec *spec,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue