Home
last modified time | relevance | path

Searched refs:capabilities_hashmap (Results 1 - 7 of 7) sorted by relevance

/third_party/pulseaudio/src/modules/bluetooth/
H A Da2dp-codec-aptx-gst.c92 static const char *choose_remote_endpoint(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_encoding) { in choose_remote_endpoint() argument
98 PA_HASHMAP_FOREACH_KV(key, a2dp_capabilities, capabilities_hashmap, state) { in choose_remote_endpoint()
106 static const char *choose_remote_endpoint_hd(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_encoding) { in choose_remote_endpoint_hd() argument
112 PA_HASHMAP_FOREACH_KV(key, a2dp_capabilities, capabilities_hashmap, state) { in choose_remote_endpoint_hd()
H A Da2dp-codec-api.h58 const char *(*choose_remote_endpoint)(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_encoding);
H A Da2dp-codec-sbc.c111 static const char *choose_remote_endpoint(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_encoding) { in choose_remote_endpoint() argument
117 PA_HASHMAP_FOREACH_KV(key, a2dp_capabilities, capabilities_hashmap, state) { in choose_remote_endpoint()
125 static const char *choose_remote_endpoint_xq(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_encoding) { in choose_remote_endpoint_xq() argument
131 PA_HASHMAP_FOREACH_KV(key, a2dp_capabilities, capabilities_hashmap, state) { in choose_remote_endpoint_xq()
H A Da2dp-codec-ldac-gst.c75 static const char *choose_remote_endpoint(const pa_hashmap *capabilities_hashmap, const pa_sample_spec *default_sample_spec, bool for_encoding) { in choose_remote_endpoint() argument
81 PA_HASHMAP_FOREACH_KV(key, a2dp_capabilities, capabilities_hashmap, state) { in choose_remote_endpoint()
H A Dbluez5-util.h220 bool pa_bluetooth_device_switch_codec(pa_bluetooth_device *device, pa_bluetooth_profile_t profile, pa_hashmap *capabilities_hashmap, const pa_a2dp_endpoint_conf *endpoint_conf, void (*codec_switch_cb)(bool, pa_bluetooth_profile_t profile, void *), void *userdata);
H A Dmodule-bluez5-device.c2568 pa_hashmap *capabilities_hashmap; in bluez5_device_message_handler() local
2651 capabilities_hashmap = pa_hashmap_get(is_a2dp_sink ? u->device->a2dp_sink_endpoints : u->device->a2dp_source_endpoints, &endpoint_conf->id); in bluez5_device_message_handler()
2652 if (!capabilities_hashmap) { in bluez5_device_message_handler()
2669 if (!pa_bluetooth_device_switch_codec(u->device, profile, capabilities_hashmap, endpoint_conf, switch_codec_cb_handler, userdata) in bluez5_device_message_handler()
H A Dbluez5-util.c441 pa_hashmap *capabilities_hashmap, const pa_a2dp_endpoint_conf *endpoint_conf, in pa_bluetooth_device_switch_codec()
455 pa_assert(capabilities_hashmap); in pa_bluetooth_device_switch_codec()
470 pa_assert_se(endpoint = endpoint_conf->choose_remote_endpoint(capabilities_hashmap, &device->discovery->core->default_sample_spec, is_a2dp_sink)); in pa_bluetooth_device_switch_codec()
440 pa_bluetooth_device_switch_codec(pa_bluetooth_device *device, pa_bluetooth_profile_t profile, pa_hashmap *capabilities_hashmap, const pa_a2dp_endpoint_conf *endpoint_conf, void (*codec_switch_cb)(bool, pa_bluetooth_profile_t profile, void *), void *userdata) pa_bluetooth_device_switch_codec() argument

Completed in 13 milliseconds