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