mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Remove some hardcoded channel number values
Mostly related to the number of channels.
This commit is contained in:
parent
5cfd461ba2
commit
722776cf65
5 changed files with 8 additions and 6 deletions
|
|
@ -1777,7 +1777,7 @@ struct acp_card *acp_card_new(uint32_t index, const struct acp_dict *props)
|
|||
impl->auto_port = true;
|
||||
impl->ignore_dB = false;
|
||||
impl->rate = DEFAULT_RATE;
|
||||
impl->pro_channels = 64;
|
||||
impl->pro_channels = ACP_MAX_CHANNELS;
|
||||
|
||||
if (props) {
|
||||
if ((s = acp_dict_lookup(props, "api.alsa.use-ucm")) != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue