mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
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
This commit is contained in:
parent
248a77c7fd
commit
aee67ba806
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
return PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND;
|
||||||
|
|
||||||
case INHIBIT_AUTO_SUSPEND_ONLY_WITH_NON_MONITOR_SOURCES:
|
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();
|
pa_assert_not_reached();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue