mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa-pcm: default to max channels
When nothing else is specified, suggest the max number of channels for a device. See #467
This commit is contained in:
parent
d776a0917d
commit
ec77979890
1 changed files with 1 additions and 1 deletions
|
|
@ -418,7 +418,7 @@ skip_channels:
|
|||
|
||||
spa_pod_builder_push_choice(&b, &f[1], SPA_CHOICE_None, 0);
|
||||
choice = (struct spa_pod_choice*)spa_pod_builder_frame(&b, &f[1]);
|
||||
spa_pod_builder_int(&b, SPA_CLAMP(DEFAULT_CHANNELS, min, max));
|
||||
spa_pod_builder_int(&b, max);
|
||||
if (min != max) {
|
||||
spa_pod_builder_int(&b, min);
|
||||
spa_pod_builder_int(&b, max);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue