Re: [pulseaudio-discuss] blocking call in pulse core mainloop context results in sink not getting data

2021-09-14 Thread Arun Raghavan
On Fri, 3 Sep 2021, at 6:24 AM, Ravikiran belur wrote: > Thanks Arun. > > I looked at the fix below for a similar mainloop blocking issue. > https://lists.freedesktop.org/archives/pulseaudio-discuss/2013-May/017283.html > > I wanted to make use of threaded mainloop for blocking operations like >

Re: [pulseaudio-discuss] blocking call in pulse core mainloop context results in sink not getting data

2021-09-03 Thread Ravikiran belur
Thanks Arun. I looked at the fix below for a similar mainloop blocking issue. https://lists.freedesktop.org/archives/pulseaudio-discuss/2013-May/017283.html I wanted to make use of threaded mainloop for blocking operations like below, so that the core mainloop is not blocked. Please suggest if th

Re: [pulseaudio-discuss] blocking call in pulse core mainloop context results in sink not getting data

2021-07-19 Thread Arun Raghavan
On Mon, 19 Jul 2021, at 3:23 PM, Ravikiran belur wrote: > Hello, > > A module in pulseaudio is using a blocking function in pa_hook_connect > callback. > So the blocking function runs in PA core mainloop context for 40ms to 90ms. > > This causes audio break/silence at the sink side, resulting in

[pulseaudio-discuss] blocking call in pulse core mainloop context results in sink not getting data

2021-07-19 Thread Ravikiran belur
Hello, A module in pulseaudio is using a blocking function in pa_hook_connect callback. So the blocking function runs in PA core mainloop context for 40ms to 90ms. This causes audio break/silence at the sink side, resulting in small noise on the speaker during playback. Can someone suggest a fix

[pulseaudio-discuss] blocking call in pulse core mainloop context results in sink not getting data

2021-07-19 Thread Ravikiran belur
Hello, A module is using a blocking function in pa_hook_connect callback. So the blocking function runs in PA core mainloop context for 40ms to 90ms. This causes audio break/silence at the sink side, resulting in small noise on the speaker during playback. Can someone suggest a fix for this issu