mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-27 07:00:01 -05:00
sink, source: Add a way to change channel map
This adds functions to allow changing the channel map on a sink or source. We make module-null-sink use this function instead of changing the channel map manually to allow for logging and notifications. The source function is currently unused but we add it to maintain symmetry with the sink.
This commit is contained in:
parent
e4a085f6d3
commit
47298b8de8
5 changed files with 54 additions and 3 deletions
|
|
@ -450,6 +450,7 @@ pa_idxset* pa_source_check_formats(pa_source *s, pa_idxset *in_formats);
|
|||
|
||||
void pa_source_set_sample_format(pa_source *s, pa_sample_format_t format);
|
||||
void pa_source_set_sample_rate(pa_source *s, uint32_t rate);
|
||||
void pa_source_set_channel_map(pa_source *s, pa_channel_map *map);
|
||||
|
||||
/*** To be called exclusively by the source driver, from IO context */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue