PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio
Commits: 597a1eb1 by Jaroslav Kysela at 2021-01-28T08:50:09+01:00 alsa: fix the plug: PCM device name creation The plug: ALSA PCM device name can pass any device name even with argument, but the syntax is: plug:SLAVE='<pcm_device_name>' BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/75#issuecomment-768555182 Signed-off-by: Jaroslav Kysela <[email protected]> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/492> - - - - - 1 changed file: - src/modules/alsa/alsa-util.c Changes: ===================================== src/modules/alsa/alsa-util.c ===================================== @@ -731,7 +731,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; View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/597a1eb1ba02891c79132319f3d2beb2b5cbc108 -- View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/597a1eb1ba02891c79132319f3d2beb2b5cbc108 You're receiving this email because of your account on gitlab.freedesktop.org.
_______________________________________________ pulseaudio-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits
