alsa: sync with pulseaudio

This commit is contained in:
Wim Taymans 2021-02-25 10:28:25 +01:00
parent 7cf07da392
commit 20eb61b882
7 changed files with 135 additions and 2 deletions

View file

@ -717,7 +717,7 @@ snd_pcm_t *pa_alsa_open_by_device_string(
if (!pa_startswith(d, "plug:") && !pa_startswith(d, "plughw:")) {
char *t;
t = pa_sprintf_malloc("plug:%s", d);
t = pa_sprintf_malloc("plug:SLAVE='%s'", d);
pa_xfree(d);
d = t;