/third_party/pulseaudio/src/pulsecore/ |
D | client.c | 60 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()
|
D | card.c | 93 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()
|
D | source-output.c | 271 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 …]
|
D | sink-input.c | 335 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 …]
|
D | module.c | 219 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()
|
D | hook-list.h | 67 pa_hook_result_t pa_hook_fire(pa_hook *hook, void *data);
|
D | core-scache.c | 82 pa_hook_fire(&e->core->hooks[PA_CORE_HOOK_SAMPLE_CACHE_UNLINK], e); in free_entry() 202 …pa_hook_fire(&e->core->hooks[new_sample ? PA_CORE_HOOK_SAMPLE_CACHE_NEW : PA_CORE_HOOK_SAMPLE_CACH… in pa_scache_add_item() 269 …pa_hook_fire(&e->core->hooks[new_sample ? PA_CORE_HOOK_SAMPLE_CACHE_NEW : PA_CORE_HOOK_SAMPLE_CACH… in pa_scache_add_file_lazy()
|
D | device-port.c | 151 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()
|
D | source.c | 190 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 …]
|
D | hook-list.c | 92 pa_hook_result_t pa_hook_fire(pa_hook *hook, void *data) { in pa_hook_fire() function
|
D | sink.c | 203 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 …]
|
D | core.c | 348 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()
|
D | protocol-dbus.c | 1108 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()
|
D | protocol-native.c | 1185 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/ |
D | hook-list-test.c | 34 pa_hook_fire(&hook, (void*) "call1"); in START_TEST() 38 pa_hook_fire(&hook, (void*) "call2"); in START_TEST()
|
/third_party/pulseaudio/src/modules/ |
D | reserve-wrap.c | 95 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/ |
D | bluez5-util.c | 253 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() 300 …pa_hook_fire(&t->device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], t->device); in pa_bluetooth_transport_set_state() 312 …pa_hook_fire(&t->device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], t->device); in pa_bluetooth_transport_set_state() 320 …pa_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() 609 … pa_hook_fire(&device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], device); in device_set_valid()
|
D | backend-native.c | 391 …pa_hook_fire(pa_bluetooth_discovery_hook(t->device->discovery, PA_BLUETOOTH_HOOK_TRANSPORT_SPEAKER… in rfcomm_io_callback() 396 …pa_hook_fire(pa_bluetooth_discovery_hook(t->device->discovery, PA_BLUETOOTH_HOOK_TRANSPORT_MICROPH… in rfcomm_io_callback()
|
/third_party/pulseaudio/src/modules/dbus/ |
D | iface-client.c | 386 pa_hook_fire(&c->client->core->hooks[PA_CORE_HOOK_CLIENT_PROPLIST_CHANGED], c->client); in handle_remove_properties()
|