mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
alsa: Allow channel count probe on open by mapping
This allows opening a PCM given a mapping to work even if we don't have a channel count for the device up-front.
This commit is contained in:
parent
dae4b83dd0
commit
89024f6f12
1 changed files with 1 additions and 1 deletions
|
|
@ -627,7 +627,7 @@ snd_pcm_t *pa_alsa_open_by_device_id_mapping(
|
|||
tsched_size,
|
||||
use_mmap,
|
||||
use_tsched,
|
||||
TRUE);
|
||||
pa_channel_map_valid(&m->channel_map) /* Query the channel count if we don't know what we want */);
|
||||
|
||||
if (!pcm_handle)
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue