mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
alsa: allow placing device id in alsa device strings at arbitrary positions
This commit is contained in:
parent
31575f7766
commit
334325efd7
4 changed files with 22 additions and 22 deletions
|
|
@ -3179,7 +3179,7 @@ void pa_alsa_profile_set_probe(pa_alsa_profile_set *ps, const char *dev_id, cons
|
|||
try_ss = *ss;
|
||||
try_ss.channels = try_map.channels;
|
||||
|
||||
if (!(m ->output_pcm = pa_alsa_open_by_device_string_strv(
|
||||
if (!(m ->output_pcm = pa_alsa_open_by_template(
|
||||
m->device_strings,
|
||||
dev_id,
|
||||
NULL,
|
||||
|
|
@ -3203,7 +3203,7 @@ void pa_alsa_profile_set_probe(pa_alsa_profile_set *ps, const char *dev_id, cons
|
|||
try_ss = *ss;
|
||||
try_ss.channels = try_map.channels;
|
||||
|
||||
if (!(m ->input_pcm = pa_alsa_open_by_device_string_strv(
|
||||
if (!(m ->input_pcm = pa_alsa_open_by_template(
|
||||
m->device_strings,
|
||||
dev_id,
|
||||
NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue