mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
acp: add option to set Pro Audio channels
We always probe the Pro Audio profile with the maximum number of channels but this can lead to a more limited amount of sample rates. Add an option to set the channels used when probing so that the other samplerates become available. Fixes #2990
This commit is contained in:
parent
e4f4ef9e1c
commit
2681d7e3ec
2 changed files with 5 additions and 1 deletions
|
|
@ -48,6 +48,7 @@ struct pa_card {
|
|||
bool auto_port;
|
||||
bool ignore_dB;
|
||||
uint32_t rate;
|
||||
uint32_t pro_channels;
|
||||
|
||||
pa_alsa_ucm_config ucm;
|
||||
pa_alsa_profile_set *profile_set;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue