mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
alsa: add option do use chmap from alsa, disable by default
This should be more in line with what PulseAudio does and so lead to less surprises. See #289
This commit is contained in:
parent
30dfe16c52
commit
2b0b44edc0
4 changed files with 39 additions and 17 deletions
|
|
@ -369,7 +369,7 @@ spa_alsa_enum_format(struct state *state, int seq, uint32_t start, uint32_t num,
|
|||
|
||||
spa_pod_builder_prop(&b, SPA_FORMAT_AUDIO_channels, 0);
|
||||
|
||||
if ((maps = snd_pcm_query_chmaps(hndl)) != NULL) {
|
||||
if (state->props.use_chmap && (maps = snd_pcm_query_chmaps(hndl)) != NULL) {
|
||||
uint32_t channel;
|
||||
snd_pcm_chmap_t* map;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue