On Thu, 20.08.09 17:25, Jason Taylor ([email protected]) wrote:

> Is there an event that occurs when a sink_input changes sinks?
> 
> Seems like there should be PA_SUBSCRIPTION_EVENT_SINK_INPUT but that
> dosn't seem to happen?

PA_SUBSCRIPTION_EVENT_SINK_INPUT|PA_SUBSCRIPTION_EVENT_CHANGE is
triggered at the end of pa_sink_input_finish_move().

Note that subscription events are queued asynchronously and coalesced
and everything.

If you want synchronous notifications you might want to hook into
PA_CORE_HOOK_SINK_INPUT_MOVE_FINISH or
PA_CORE_HOOK_SINK_INPUT_MOVE_START.

What do you want to do?

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to