[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] rtp: Fix reverted test for INHIBIT_AUTO_SUSPEND_ONLY_WITH_NON_MONITOR_SOURCES
Tanu Kaskinen
gitlab at gitlab.freedesktop.org
Sat Oct 26 13:44:43 UTC 2019
Tanu Kaskinen pushed to branch master at PulseAudio / pulseaudio
Commits:
aee67ba8 by ckdo at 2019-10-26T13:36:19Z
rtp: Fix reverted test for INHIBIT_AUTO_SUSPEND_ONLY_WITH_NON_MONITOR_SOURCES
RTP Monitor sources were never suspended when
inhibit_auto_suspend=only_with_non_monitor_sources
Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/735
- - - - -
1 changed file:
- src/modules/rtp/module-rtp-send.c
Changes:
=====================================
src/modules/rtp/module-rtp-send.c
=====================================
@@ -159,7 +159,7 @@ static pa_source_output_flags_t get_dont_inhibit_auto_suspend_flag(pa_source *so
return PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND;
case INHIBIT_AUTO_SUSPEND_ONLY_WITH_NON_MONITOR_SOURCES:
- return source->monitor_of ? 0 : PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND;
+ return source->monitor_of ? PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND : 0;
}
pa_assert_not_reached();
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/aee67ba8061737d834c9943f0a5228e3366d2382
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/aee67ba8061737d834c9943f0a5228e3366d2382
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/20191026/1c7a5944/attachment.html>
More information about the pulseaudio-commits
mailing list