Home
last modified time | relevance | path

Searched refs:pa_hashmap_get (Results 1 – 25 of 48) sorted by relevance

12

/third_party/pulseaudio/src/modules/
Dmodule-suspend-on-idle.c124 if ((d = pa_hashmap_get(u->device_infos, data->sink))) { in sink_input_fixate_hook_cb()
141 d = pa_hashmap_get(u->device_infos, data->source->monitor_of); in source_output_fixate_hook_cb()
143 d = pa_hashmap_get(u->device_infos, data->source); in source_output_fixate_hook_cb()
171 if ((d = pa_hashmap_get(u->device_infos, s->sink))) in sink_input_unlink_hook_cb()
190 d = pa_hashmap_get(u->device_infos, s->source->monitor_of); in source_output_unlink_hook_cb()
193 d = pa_hashmap_get(u->device_infos, s->source); in source_output_unlink_hook_cb()
210 if ((d = pa_hashmap_get(u->device_infos, s->sink))) in sink_input_move_start_hook_cb()
226 if ((d = pa_hashmap_get(u->device_infos, s->sink))) in sink_input_move_finish_hook_cb()
241 d = pa_hashmap_get(u->device_infos, s->source->monitor_of); in source_output_move_start_hook_cb()
244 d = pa_hashmap_get(u->device_infos, s->source); in source_output_move_start_hook_cb()
[all …]
Dmodule-switch-on-port-available.c210 if (port == pa_hashmap_get(pp.sink->ports, port->name)) in find_port_pointers()
216 if (port == pa_hashmap_get(pp.source->ports, port->name)) in find_port_pointers()
222 card->active_profile == pa_hashmap_get(port->profiles, card->active_profile->name); in find_port_pointers()
363 best_profile = pa_hashmap_get(card->profiles, "off"); in find_best_profile()
418 p = pa_hashmap_get(ports, name); in new_sink_source()
461 card_info_free(pa_hashmap_get(u->card_infos, card)); in card_unlink_hook_callback()
543 info = pa_hashmap_get(u->card_infos, card); in card_profile_changed_callback()
Dmodule-card-restore.c179 if ((Bp_info = pa_hashmap_get(b->ports, Ap_info->name))) { in entrys_equal()
317 pa_hashmap_get(e->ports, port_name) || in entry_read()
420 if (!(p_info = pa_hashmap_get(entry->ports, p->name))) { in update_profile_for_port()
495 if ((p_info = pa_hashmap_get(entry->ports, port->name))) in port_offset_change_callback()
533 if ((p = pa_hashmap_get(new_data->ports, p_info->name))) { in card_new_hook_callback()
540 p = pa_hashmap_get(new_data->ports, e->preferred_input_port); in card_new_hook_callback()
546 p = pa_hashmap_get(new_data->ports, e->preferred_output_port); in card_new_hook_callback()
571 profile = pa_hashmap_get(card->profiles, e->profile); in card_choose_initial_profile_callback()
Dmodule-allow-passthrough.c62 sink = pa_hashmap_get(u->null_sinks, s); in ensure_null_sink_for_sink()
91 null_sink = pa_hashmap_get(u->null_sinks, s); in unload_null_sink_module_for_sink()
213 null_sink = pa_hashmap_get(u->null_sinks, i->sink); in passthrough_stream_removed()
Dmodule-zeroconf-discover.c285 if (!pa_hashmap_get(u->tunnels, t)) in browser_cb()
296 if ((t2 = pa_hashmap_get(u->tunnels, t))) { in browser_cb()
Dstdin-util.c193 if (!(m = pa_hashmap_get(u->module_infos, name))) { in handle_event()
/third_party/pulseaudio/src/pulsecore/
Dprotocol-dbus.c334 …if ((call_info->property_handler = pa_hashmap_get(call_info->iface_entry->property_handlers, call_… in find_handler_by_property()
360 …if ((call_info->method_handler = pa_hashmap_get(call_info->iface_entry->method_handlers, call_info… in find_handler_by_method()
361 …pa_assert_se(call_info->expected_method_sig = pa_hashmap_get(call_info->iface_entry->method_signat… in find_handler_by_method()
386 …if ((call_info->iface_entry = pa_hashmap_get(call_info->obj_entry->interfaces, call_info->property… in find_handler_from_properties_call()
407 …if (!(call_info->iface_entry = pa_hashmap_get(call_info->obj_entry->interfaces, call_info->propert… in find_handler_from_properties_call()
410pa_hashmap_get(call_info->iface_entry->property_handlers, call_info->property))) in find_handler_from_properties_call()
437 …if (!(call_info->iface_entry = pa_hashmap_get(call_info->obj_entry->interfaces, call_info->propert… in find_handler_from_properties_call()
441pa_hashmap_get(call_info->iface_entry->property_handlers, call_info->property))) { in find_handler_from_properties_call()
466 …else if (!(call_info->iface_entry = pa_hashmap_get(call_info->obj_entry->interfaces, call_info->in… in find_handler()
469 …else if ((call_info->method_handler = pa_hashmap_get(call_info->iface_entry->method_handlers, call… in find_handler()
[all …]
Dnamereg.c130 if ((e = pa_hashmap_get(c->namereg, name)) && fail) { in pa_namereg_register()
150 if (!(e = pa_hashmap_get(c->namereg, k))) in pa_namereg_register()
210 if ((e = pa_hashmap_get(c->namereg, name))) in pa_namereg_get()
Dmessage-handler.c82 if (!(handler = pa_hashmap_get(c->message_handlers, object_path))) in pa_message_handler_send_message()
97 if (!(handler = pa_hashmap_get(c->message_handlers, object_path))) in pa_message_handler_set_description()
Dshared.c63 if (!(p = pa_hashmap_get(c->shared, name))) in pa_shared_get()
77 if (pa_hashmap_get(c->shared, name)) in pa_shared_set()
Dmodargs.c56 if (pa_hashmap_get(ma->unescaped, key)) { in add_key_value()
289 if (!(e = pa_hashmap_get(ma->unescaped, key))) in pa_modargs_get_value()
301 if (!(e = pa_hashmap_get(ma->raw, key))) in modargs_get_value_raw()
302 if (!(e = pa_hashmap_get(ma->unescaped, key))) in modargs_get_value_raw()
Dhashmap.h48 void* pa_hashmap_get(const pa_hashmap *h, const void *key);
Ddevice-port.c285 if (p == pa_hashmap_get(sink->ports, p->name)) { in pa_device_port_get_sink()
298 if (p == pa_hashmap_get(source->ports, p->name)) { in pa_device_port_get_source()
Dmutex-win32.c103 event = (HANDLE)pa_hashmap_get(c->wait_events, key); in pa_cond_signal()
Ddatabase-simple.c278 e = pa_hashmap_get(db->map, key); in pa_database_get()
383 search = pa_hashmap_get(db->map, key); in pa_database_next()
/third_party/pulseaudio/src/modules/rtp/
Dheaderlist.c67 if (!(hdr = pa_hashmap_get(MAKE_HASHMAP(p), key))) { in pa_headerlist_puts()
90 if (!(hdr = pa_hashmap_get(MAKE_HASHMAP(p), key))) { in pa_headerlist_putsappend()
114 if (!(hdr = pa_hashmap_get(MAKE_HASHMAP(p), key))) in pa_headerlist_gets()
169 if (!(pa_hashmap_get(MAKE_HASHMAP(p), key))) in pa_headerlist_contains()
/third_party/pulseaudio/src/pulse/
Dproplist.c87 if (!(prop = pa_hashmap_get(MAKE_HASHMAP_CONST(p), key))) { in pa_proplist_sets()
122 if (!(prop = pa_hashmap_get(MAKE_HASHMAP_CONST(p), k))) { in proplist_setn()
185 if (!(prop = pa_hashmap_get(MAKE_HASHMAP_CONST(p), k))) { in proplist_sethex()
225 if (!(prop = pa_hashmap_get(MAKE_HASHMAP_CONST(p), key))) { in pa_proplist_setf()
256 if (!(prop = pa_hashmap_get(MAKE_HASHMAP_CONST(p), key))) { in pa_proplist_set()
284 if (!(prop = pa_hashmap_get(MAKE_HASHMAP_CONST(p), key))) in pa_proplist_gets()
313 if (!(prop = pa_hashmap_get(MAKE_HASHMAP_CONST(p), key))) in pa_proplist_get()
642 if (!(pa_hashmap_get(MAKE_HASHMAP_CONST(p), key))) in pa_proplist_contains()
693 if (!(b_prop = pa_hashmap_get(MAKE_HASHMAP_CONST(b), key))) in pa_proplist_equal()
/third_party/pulseaudio/src/modules/bluetooth/
Dbluez5-util.c176 return !!pa_hashmap_get(device->uuids, PA_BLUETOOTH_UUID_A2DP_SINK); in device_supports_profile()
178 return !!pa_hashmap_get(device->uuids, PA_BLUETOOTH_UUID_A2DP_SOURCE); in device_supports_profile()
180 return !!pa_hashmap_get(device->uuids, PA_BLUETOOTH_UUID_HSP_HS) in device_supports_profile()
181 || !!pa_hashmap_get(device->uuids, PA_BLUETOOTH_UUID_HSP_HS_ALT) in device_supports_profile()
182 || !!pa_hashmap_get(device->uuids, PA_BLUETOOTH_UUID_HFP_HF); in device_supports_profile()
184 return !!pa_hashmap_get(device->uuids, PA_BLUETOOTH_UUID_HSP_AG) in device_supports_profile()
185 || !!pa_hashmap_get(device->uuids, PA_BLUETOOTH_UUID_HFP_AG); in device_supports_profile()
536 if ((d = pa_hashmap_get(y->devices, path)) && d->valid) in pa_bluetooth_discovery_get_device_by_path()
777 if (pa_hashmap_get(d->uuids, value)) { in parse_device_property()
951 if ((a = pa_hashmap_get(y->adapters, path))) { in parse_interfaces_and_properties()
[all …]
Dmodule-bluez5-device.c237 pa_assert_se(port = pa_hashmap_get(u->card->ports, u->output_port_name)); in connect_ports()
243 pa_assert_se(port = pa_hashmap_get(u->card->ports, u->input_port_name)); in connect_ports()
1871 pa_assert_se(input_port = pa_hashmap_get(ports, u->input_port_name)); in create_card_profile()
1872 pa_assert_se(output_port = pa_hashmap_get(ports, u->output_port_name)); in create_card_profile()
1978 … pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0); in set_profile_cb()
2044 if (pa_hashmap_get(data.profiles, pa_bluetooth_profile_to_string(profile))) in add_card()
2087 … pa_assert_se(cp = pa_hashmap_get(u->card->profiles, pa_bluetooth_profile_to_string(t->profile))); in handle_transport_state_change()
2093 pa_assert_se(port = pa_hashmap_get(u->card->ports, u->output_port_name)); in handle_transport_state_change()
2095 pa_assert_se(port = pa_hashmap_get(u->card->ports, u->input_port_name)); in handle_transport_state_change()
2175 … pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0); in transport_state_changed_cb()
[all …]
Dmodule-bluez5-discover.c63 module_loaded = pa_hashmap_get(u->loaded_device_paths, d->path) ? true : false; in device_connection_changed_cb()
/third_party/pulseaudio/src/modules/dbus/
Diface-core.c695 …pa_assert_se((fallback_sink = pa_hashmap_get(c->sinks_by_index, PA_UINT32_TO_PTR(c->fallback_sink-… in handle_get_fallback_sink()
719 if (!(fallback_sink = pa_hashmap_get(c->sinks_by_path, object_path))) { in handle_set_fallback_sink()
783 …pa_assert_se((fallback_source = pa_hashmap_get(c->sources_by_index, PA_UINT32_TO_PTR(c->fallback_s… in handle_get_fallback_source()
807 if (!(fallback_source = pa_hashmap_get(c->sources_by_path, object_path))) { in handle_set_fallback_source()
1020 …return pa_dbusiface_client_get_path(pa_hashmap_get(c->clients, PA_UINT32_TO_PTR(my_client->index))… in get_my_client()
1107 …? pa_dbusiface_device_get_path(pa_hashmap_get(c->sinks_by_index, PA_UINT32_TO_PTR(c->fallback_sink… in handle_get_all()
1111 ? pa_dbusiface_device_get_path(pa_hashmap_get(c->sources_by_index, in handle_get_all()
1194 pa_assert_se((dbus_card = pa_hashmap_get(c->cards, PA_UINT32_TO_PTR(card->index)))); in handle_get_card_by_name()
1219 pa_assert_se((dbus_sink = pa_hashmap_get(c->sinks_by_index, PA_UINT32_TO_PTR(sink->index)))); in handle_get_sink_by_name()
1244 …pa_assert_se((dbus_source = pa_hashmap_get(c->sources_by_index, PA_UINT32_TO_PTR(source->index)))); in handle_get_source_by_name()
[all …]
Diface-card.c320 …active_profile = pa_dbusiface_card_profile_get_path(pa_hashmap_get(c->profiles, c->active_profile-… in handle_get_active_profile()
395 …active_profile = pa_dbusiface_card_profile_get_path(pa_hashmap_get(c->profiles, c->active_profile-… in handle_get_all()
439 if (!(profile = pa_hashmap_get(c->profiles, profile_name))) { in handle_get_profile_by_name()
479 …object_path = pa_dbusiface_card_profile_get_path(pa_hashmap_get(dbus_card->profiles, dbus_card->ac… in card_profile_changed_cb()
535 pa_assert_se((p = pa_hashmap_get(c->profiles, profile->name))); in card_profile_available_changed_cb()
/third_party/pulseaudio/src/modules/alsa/
Dmodule-alsa-card.c321 port = pa_hashmap_get(u->card->ports, jack->name); in calc_port_state()
480 if (!pa_hashmap_get(port->profiles, profile->name)) in report_jack_state()
691 count = pa_hashmap_get(group_counts, p->availability_group); in prune_singleton_availability_groups()
705 if (p->availability_group && !pa_hashmap_get(group_counts, p->availability_group)) { in prune_singleton_availability_groups()
1014 profile = pa_hashmap_get(u->card->profiles, profile_str); in pa__init()
/third_party/pulseaudio/src/modules/raop/
Dmodule-raop-discover.c390 if (!pa_hashmap_get(u->tunnels, t)) in browser_cb()
401 if ((t2 = pa_hashmap_get(u->tunnels, t))) { in browser_cb()
/third_party/pulseaudio/src/modules/macosx/
Dmodule-bonjour-publish.c289 if ((s = pa_hashmap_get(u->services, device))) in get_service()
357 if ((s = pa_hashmap_get(u->services, o))) in device_unlink_cb()

12