mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
alsa: Add "exact-channels" mapping configurability
Allow a mapping to relax the exact channel restriction:
exact-channels = yes | no # If no, and the exact number of channels is not supported,
# allow device to be opened with another channel count
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
afbe9605c6
commit
be8311417c
3 changed files with 42 additions and 4 deletions
|
|
@ -264,6 +264,7 @@ struct pa_alsa_mapping {
|
|||
pa_alsa_path_set *output_path_set;
|
||||
|
||||
unsigned supported;
|
||||
bool exact_channels:1;
|
||||
|
||||
/* Temporarily used during probing */
|
||||
snd_pcm_t *input_pcm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue