[pulseaudio-discuss] [PATCH] filter-apply: Eliminate nested and redundant hook events.

2017-05-17 Thread KimJeongYeon
Hook events of proplist triggered by pa_{sink_input|source_output}_set_property() in do_move() function. Then, do_move() will be called again by its nested hook events. For example playback stream, filter-apply calls do_move() by hook event of 'PA_CORE_HOOK_SINK_INPUT_PROPLIST_CHANGED' when

Re: [pulseaudio-discuss] [PATCH] switch-on-port-available: check and change default sink or source

2017-05-17 Thread Tanu Kaskinen
On Tue, 2017-05-16 at 16:29 +0800, Hui Wang wrote: > On 05/03/2017 06:51 PM, Tanu Kaskinen wrote: > > On Wed, 2017-05-03 at 11:23 +0800, Hui Wang wrote: > > > Today I tested the latest master branch (already including your two > > > patches), seems it did not fix the problem. Below is my testing

Re: [pulseaudio-discuss] [PATCH] virtual sources and sinks: Don't double attach a sink input or source output on filter load

2017-05-17 Thread Tanu Kaskinen
On Tue, 2017-05-16 at 15:14 +0200, Georg Chini wrote: > When a filter is loaded and module-switch-on-connect is present, > switch-on-connect > will make the filter the default sink or source and move streams from the old > default to the filter. This is done from the sink/source put hook,

Re: [pulseaudio-discuss] Detecting when data source disappears?

2017-05-17 Thread Georg Chini
On 17.05.2017 04:28, Steven Wawryk wrote: Hello, I've been reading up and experimenting on both the simple and async APIs. In one experiment, I used a CLI file that sets up a set of module-sine modules with output remapped by module-remap-sink modules to a stream fed to a module-null-sink