Home
last modified time | relevance | path

Searched refs:is_a2dp_sink (Results 1 - 4 of 4) sorted by relevance

/third_party/pulseaudio/src/modules/bluetooth/
H A Da2dp-codec-util.c128 bool pa_bluetooth_a2dp_codec_is_available(const pa_a2dp_codec_id *id, bool is_a2dp_sink) { in pa_bluetooth_a2dp_codec_is_available() argument
136 && conf->can_be_supported(is_a2dp_sink)) in pa_bluetooth_a2dp_codec_is_available()
H A Da2dp-codec-util.h35 bool pa_bluetooth_a2dp_codec_is_available(const pa_a2dp_codec_id *id, bool is_a2dp_sink);
H A Dmodule-bluez5-device.c2513 bool is_a2dp_sink; in list_codecs() local
2521 is_a2dp_sink = u->profile == PA_BLUETOOTH_PROFILE_A2DP_SINK; in list_codecs()
2523 a2dp_endpoints = is_a2dp_sink ? u->device->a2dp_sink_endpoints : u->device->a2dp_source_endpoints; in list_codecs()
2532 if (endpoint_conf->can_be_supported(is_a2dp_sink)) { in list_codecs()
2573 bool is_a2dp_sink; in bluez5_device_message_handler() local
2633 is_a2dp_sink = u->profile == PA_BLUETOOTH_PROFILE_A2DP_SINK; in bluez5_device_message_handler()
2635 if (!endpoint_conf->can_be_supported(is_a2dp_sink)) { in bluez5_device_message_handler()
2646 if (pa_hashmap_isempty(is_a2dp_sink ? u->device->a2dp_sink_endpoints : u->device->a2dp_source_endpoints)) { in bluez5_device_message_handler()
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()
H A Dbluez5-util.c449 bool is_a2dp_sink; in pa_bluetooth_device_switch_codec() local
463 is_a2dp_sink = profile == PA_BLUETOOTH_PROFILE_A2DP_SINK; in pa_bluetooth_device_switch_codec()
466 all_endpoints = pa_hashmap_get(is_a2dp_sink ? device->a2dp_sink_endpoints : device->a2dp_source_endpoints, 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()
478 pa_endpoint = pa_sprintf_malloc("%s/%s", is_a2dp_sink ? A2DP_SOURCE_ENDPOINT : A2DP_SINK_ENDPOINT, in pa_bluetooth_device_switch_codec()

Completed in 9 milliseconds