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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2014-01-14 at 12:26 +0000, Ben Brewer wrote:
> 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);

Thank you! I applied the patch.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux