[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] sink: Set monitor source's avoid-resampling value to its sink's

Tanu Kaskinen gitlab at gitlab.freedesktop.org
Sat Jun 8 06:56:33 UTC 2019



Tanu Kaskinen pushed to branch master at PulseAudio / pulseaudio


Commits:
8a4e0c16 by Sangchul Lee at 2019-06-07T13:35:19Z
sink: Set monitor source's avoid-resampling value to its sink's

It was omitted. This patch fixes unexpected behavior that avoid-
resampling does not work in some cases.

Signed-off-by: Sangchul Lee <sangchul1011 at gmail.com>

- - - - -


1 changed file:

- src/pulsecore/sink.c


Changes:

=====================================
src/pulsecore/sink.c
=====================================
@@ -367,6 +367,7 @@ pa_sink* pa_sink_new(
     source_data.driver = data->driver;
     source_data.module = data->module;
     source_data.card = data->card;
+    source_data.avoid_resampling = data->avoid_resampling;
 
     dn = pa_proplist_gets(s->proplist, PA_PROP_DEVICE_DESCRIPTION);
     pa_proplist_setf(source_data.proplist, PA_PROP_DEVICE_DESCRIPTION, "Monitor of %s", dn ? dn : s->name);



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/8a4e0c167b0a295ec26068c021c283a5c7aab735

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/8a4e0c167b0a295ec26068c021c283a5c7aab735
You're receiving this email because of your account on gitlab.freedesktop.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20190608/70a09e59/attachment.html>


More information about the pulseaudio-commits mailing list