mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-19 08:57:00 -05:00
introspect: Include whether a stream is corked in the info callback.
This commit is contained in:
parent
5e442f4e0e
commit
3de129f3ac
7 changed files with 31 additions and 6 deletions
|
|
@ -470,6 +470,9 @@ static void sink_input_set_state(pa_sink_input *i, pa_sink_input_state_t state)
|
|||
|
||||
for (ssync = i->sync_next; ssync; ssync = ssync->sync_next)
|
||||
pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_STATE_CHANGED], ssync);
|
||||
|
||||
if (PA_SINK_INPUT_IS_LINKED(state))
|
||||
pa_subscription_post(i->core, PA_SUBSCRIPTION_EVENT_SINK_INPUT|PA_SUBSCRIPTION_EVENT_CHANGE, i->index);
|
||||
}
|
||||
|
||||
pa_sink_update_status(i->sink);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue