mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-27 07:00:01 -05:00
sink, source: Add API to change channel count
This makes this part symmetrical with the rest of the sample spec, and will be useful when we implement switching channel count in a sink.
This commit is contained in:
parent
f9d139c3bc
commit
4693028b9b
4 changed files with 38 additions and 0 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_channels(pa_source *s, uint8_t channels);
|
||||
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