[pulseaudio-discuss] [PATCH] module-rtp-send: Remove don't inhibit auto-suspend flag

Ben Brewer ben.brewer at codethink.co.uk
Tue Jan 14 04:26:47 PST 2014


A source is no longer considered idle in pa_source_check_suspend when
module-rtp-send is consuming data from it.
---
 src/modules/rtp/module-rtp-send.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/modules/rtp/module-rtp-send.c b/src/modules/rtp/module-rtp-send.c
index f88a75c..7a87abb 100644
--- a/src/modules/rtp/module-rtp-send.c
+++ b/src/modules/rtp/module-rtp-send.c
@@ -371,7 +371,6 @@ int pa__init(pa_module*m) {
     pa_source_output_new_data_set_source(&data, s, false);
     pa_source_output_new_data_set_sample_spec(&data, &ss);
     pa_source_output_new_data_set_channel_map(&data, &cm);
-    data.flags = PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND;
 
     pa_source_output_new(&o, m->core, &data);
     pa_source_output_new_data_done(&data);
-- 
1.7.9.5



More information about the pulseaudio-discuss mailing list