Home
last modified time | relevance | path

Searched refs:pa_hook_fire (Results 1 – 19 of 19) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dclient.c60 if (pa_hook_fire(&core->hooks[PA_CORE_HOOK_CLIENT_NEW], data) < 0) in pa_client_new()
77 pa_hook_fire(&core->hooks[PA_CORE_HOOK_CLIENT_PUT], c); in pa_client_new()
92 pa_hook_fire(&core->hooks[PA_CORE_HOOK_CLIENT_UNLINK], c); in pa_client_free()
138 pa_hook_fire(&c->core->hooks[PA_CORE_HOOK_CLIENT_PROPLIST_CHANGED], c); in pa_client_update_proplist()
159 if (pa_hook_fire(&c->core->hooks[PA_CORE_HOOK_CLIENT_SEND_EVENT], &hook_data) < 0) in pa_client_send_event()
Dcard.c93 pa_hook_fire(&core->hooks[PA_CORE_HOOK_CARD_PROFILE_AVAILABLE_CHANGED], c); in pa_card_profile_set_available()
158 pa_hook_fire(&core->hooks[PA_CORE_HOOK_CARD_NEW], data); in pa_card_new()
226 pa_hook_fire(&card->core->hooks[PA_CORE_HOOK_CARD_CHOOSE_INITIAL_PROFILE], card); in pa_card_choose_initial_profile()
236 pa_hook_fire(&card->core->hooks[PA_CORE_HOOK_CARD_PUT], card); in pa_card_put()
249 pa_hook_fire(&core->hooks[PA_CORE_HOOK_CARD_UNLINK], c); in pa_card_free()
284 pa_hook_fire(&c->core->hooks[PA_CORE_HOOK_CARD_PROFILE_ADDED], profile); in pa_card_add_profile()
346 pa_hook_fire(&c->core->hooks[PA_CORE_HOOK_CARD_PROFILE_CHANGED], c); in pa_card_set_profile()
384 pa_hook_fire(&c->core->hooks[PA_CORE_HOOK_CARD_PREFERRED_PORT_CHANGED], &data); in pa_card_set_preferred_port()
407 pa_hook_fire(&c->core->hooks[PA_CORE_HOOK_CARD_SUSPEND_CHANGED], c); in pa_card_suspend()
Dsource-output.c271 if ((r = pa_hook_fire(&core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_NEW], data)) < 0) in pa_source_output_new()
397 if ((r = pa_hook_fire(&core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_FIXATE], data)) < 0) in pa_source_output_new()
567 pa_hook_fire(&o->core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_STATE_CHANGED], o); in source_output_set_state()
592 pa_hook_fire(&o->core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_UNLINK], o); in pa_source_output_unlink()
632 pa_hook_fire(&o->core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_UNLINK_POST], o); in pa_source_output_unlink()
710 pa_hook_fire(&o->core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_PUT], o); in pa_source_output_put()
1109 pa_hook_fire(&o->core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_MUTE_CHANGED], o); in pa_source_output_set_mute()
1143 pa_hook_fire(&o->core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_PROPLIST_CHANGED], o); in pa_source_output_set_property()
1183 pa_hook_fire(&o->core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_PROPLIST_CHANGED], o); in pa_source_output_set_property_arbitrary()
1362 if ((r = pa_hook_fire(&o->core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_MOVE_START], o)) < 0) in pa_source_output_start_move()
[all …]
Dsink-input.c335 if ((r = pa_hook_fire(&core->hooks[PA_CORE_HOOK_SINK_INPUT_NEW], data)) < 0) in pa_sink_input_new()
449 if ((r = pa_hook_fire(&core->hooks[PA_CORE_HOOK_SINK_INPUT_FIXATE], data)) < 0) in pa_sink_input_new()
658 pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_STATE_CHANGED], i); in sink_input_set_state()
661 pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_STATE_CHANGED], ssync); in sink_input_set_state()
664 pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_STATE_CHANGED], ssync); in sink_input_set_state()
690 pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_UNLINK], i); in pa_sink_input_unlink()
740 pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_UNLINK_POST], i); in pa_sink_input_unlink()
836 pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_PUT], i); in pa_sink_input_put()
1457 pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_MUTE_CHANGED], i); in pa_sink_input_set_mute()
1491 pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_PROPLIST_CHANGED], i); in pa_sink_input_set_property()
[all …]
Dmodule.c219 pa_hook_fire(&m->core->hooks[PA_CORE_HOOK_MODULE_NEW], m); in pa_module_load()
262 pa_hook_fire(&m->core->hooks[PA_CORE_HOOK_MODULE_UNLINK], m); in pa_module_free()
414 pa_hook_fire(&m->core->hooks[PA_CORE_HOOK_MODULE_PROPLIST_CHANGED], m); in pa_module_update_proplist()
Dhook-list.h67 pa_hook_result_t pa_hook_fire(pa_hook *hook, void *data);
Dcore-scache.c82 pa_hook_fire(&e->core->hooks[PA_CORE_HOOK_SAMPLE_CACHE_UNLINK], e); in free_entry()
202pa_hook_fire(&e->core->hooks[new_sample ? PA_CORE_HOOK_SAMPLE_CACHE_NEW : PA_CORE_HOOK_SAMPLE_CACH… in pa_scache_add_item()
269pa_hook_fire(&e->core->hooks[new_sample ? PA_CORE_HOOK_SAMPLE_CACHE_NEW : PA_CORE_HOOK_SAMPLE_CACH… in pa_scache_add_file_lazy()
Ddevice-port.c151 pa_hook_fire(&p->core->hooks[PA_CORE_HOOK_PORT_AVAILABLE_CHANGED], p); in pa_device_port_set_available()
249 pa_hook_fire(&core->hooks[PA_CORE_HOOK_PORT_LATENCY_OFFSET_CHANGED], p); in pa_device_port_set_latency_offset()
Dsource.c190 if (pa_hook_fire(&core->hooks[PA_CORE_HOOK_SOURCE_NEW], data) < 0) { in pa_source_new()
237 if (pa_hook_fire(&core->hooks[PA_CORE_HOOK_SOURCE_FIXATE], data) < 0) { in pa_source_new()
456 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SOURCE_STATE_CHANGED], s); in source_set_state()
677 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SOURCE_PUT], s); in pa_source_put()
707 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SOURCE_UNLINK], s); in pa_source_unlink()
740 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SOURCE_UNLINK_POST], s); in pa_source_unlink()
809 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SOURCE_FLAGS_CHANGED], s); in pa_source_update_flags()
1912 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SOURCE_MUTE_CHANGED], s); in pa_source_set_mute()
1965 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SOURCE_PROPLIST_CHANGED], s); in pa_source_update_proplist()
1994 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SOURCE_PROPLIST_CHANGED], s); in pa_source_set_description()
[all …]
Dhook-list.c92 pa_hook_result_t pa_hook_fire(pa_hook *hook, void *data) { in pa_hook_fire() function
Dsink.c203 if (pa_hook_fire(&core->hooks[PA_CORE_HOOK_SINK_NEW], data) < 0) { in pa_sink_new()
250 if (pa_hook_fire(&core->hooks[PA_CORE_HOOK_SINK_FIXATE], data) < 0) { in pa_sink_new()
503 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SINK_STATE_CHANGED], s); in sink_set_state()
735 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SINK_PUT], s); in pa_sink_put()
767 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SINK_UNLINK], s); in pa_sink_unlink()
803 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SINK_UNLINK_POST], s); in pa_sink_unlink()
880 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SINK_FLAGS_CHANGED], s); in pa_sink_update_flags()
2340 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SINK_MUTE_CHANGED], s); in pa_sink_set_mute()
2393 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SINK_PROPLIST_CHANGED], s); in pa_sink_update_proplist()
2430 pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SINK_PROPLIST_CHANGED], s); in pa_sink_set_description()
[all …]
Dcore.c348 pa_hook_fire(&core->hooks[PA_CORE_HOOK_DEFAULT_SINK_CHANGED], core->default_sink); in pa_core_update_default_sink()
433 pa_hook_fire(&core->hooks[PA_CORE_HOOK_DEFAULT_SOURCE_CHANGED], core->default_source); in pa_core_update_default_source()
Dprotocol-dbus.c1108 pa_hook_fire(&p->hooks[PA_DBUS_PROTOCOL_HOOK_EXTENSION_REGISTERED], internal_name); in pa_dbus_protocol_register_extension()
1122 pa_hook_fire(&p->hooks[PA_DBUS_PROTOCOL_HOOK_EXTENSION_UNREGISTERED], internal_name); in pa_dbus_protocol_unregister_extension()
Dprotocol-native.c1185 pa_hook_fire(&c->protocol->hooks[PA_NATIVE_HOOK_CONNECTION_UNLINK], c); in native_connection_unlink()
5241 pa_hook_fire(&p->hooks[PA_NATIVE_HOOK_CONNECTION_PUT], c); in pa_native_protocol_connect()
5331 pa_hook_fire(&p->hooks[PA_NATIVE_HOOK_SERVERS_CHANGED], p->servers); in pa_native_protocol_add_server_string()
5341 pa_hook_fire(&p->hooks[PA_NATIVE_HOOK_SERVERS_CHANGED], p->servers); in pa_native_protocol_remove_server_string()
/third_party/pulseaudio/src/tests/
Dhook-list-test.c34 pa_hook_fire(&hook, (void*) "call1"); in START_TEST()
38 pa_hook_fire(&hook, (void*) "call2"); in START_TEST()
/third_party/pulseaudio/src/modules/
Dreserve-wrap.c95 k = pa_hook_fire(&r->hook, PA_INT_TO_PTR(forced)); in request_cb()
240 pa_hook_fire(&w->hook, PA_INT_TO_PTR(!!k)); in change_cb()
/third_party/pulseaudio/src/modules/bluetooth/
Dbluez5-util.c253 pa_hook_fire(&device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], device); in wait_for_profiles_cb()
281 pa_hook_fire(&t->device->discovery->hooks[PA_BLUETOOTH_HOOK_TRANSPORT_STATE_CHANGED], t); in pa_bluetooth_transport_set_state()
300pa_hook_fire(&t->device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], t->device); in pa_bluetooth_transport_set_state()
312pa_hook_fire(&t->device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], t->device); in pa_bluetooth_transport_set_state()
320pa_hook_fire(&t->device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], t->device); in pa_bluetooth_transport_set_state()
565 pa_hook_fire(&d->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_UNLINK], d); in device_free()
609pa_hook_fire(&device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], device); in device_set_valid()
Dbackend-native.c391pa_hook_fire(pa_bluetooth_discovery_hook(t->device->discovery, PA_BLUETOOTH_HOOK_TRANSPORT_SPEAKER… in rfcomm_io_callback()
396pa_hook_fire(pa_bluetooth_discovery_hook(t->device->discovery, PA_BLUETOOTH_HOOK_TRANSPORT_MICROPH… in rfcomm_io_callback()
/third_party/pulseaudio/src/modules/dbus/
Diface-client.c386 pa_hook_fire(&c->client->core->hooks[PA_CORE_HOOK_CLIENT_PROPLIST_CHANGED], c->client); in handle_remove_properties()