[pulseaudio-discuss] How is "pa_sink_input_process_msg" called?

Tanu Kaskinen tanuk at iki.fi
Thu Jun 9 19:58:29 PDT 2011


On Fri, 2011-06-10 at 09:44 +0800, Lin, Mengdong wrote:
> So "protocol-native.c" is a implementor for a sink input, right?

Yes.

> It has a "sink_input_process_msg" which overrides the default message
> handler as you said.
> 
> I have another question: is it possible for a sink input connected to
> multiple sinks? If yes, in which thread is the message handler is
> called? 

No, sink inputs can be connected to one sink at a time only. If you need
to play the same stream to multiple sinks, there's module-combine for
that (renamed to module-combine-sink in git master).

-- 
Tanu



More information about the pulseaudio-discuss mailing list