Lines Matching refs:endpoint_conf

441         pa_hashmap *capabilities_hashmap, const pa_a2dp_endpoint_conf *endpoint_conf,
456 pa_assert(endpoint_conf);
467 &endpoint_conf->id);
470 pa_assert_se(endpoint = endpoint_conf->choose_remote_endpoint(capabilities_hashmap, &device->discovery->core->default_sample_spec, is_a2dp_sink));
473 config_size = endpoint_conf->fill_preferred_configuration(&device->discovery->core->default_sample_spec,
479 endpoint_conf->bt_codec.name);
1761 static void register_legacy_sbc_endpoint(pa_bluetooth_discovery *y, const pa_a2dp_endpoint_conf *endpoint_conf, const char *path, const char *endpoint, const char *uuid) {
1770 codec_id = endpoint_conf->id.codec_id;
1771 capabilities_size = endpoint_conf->fill_capabilities(capabilities);
1837 const pa_a2dp_endpoint_conf *endpoint_conf;
1838 endpoint_conf = pa_bluetooth_get_a2dp_endpoint_conf("sbc");
1839 pa_assert(endpoint_conf);
1840 register_legacy_sbc_endpoint(y, endpoint_conf, path, A2DP_SINK_ENDPOINT "/sbc",
1842 register_legacy_sbc_endpoint(y, endpoint_conf, path, A2DP_SOURCE_ENDPOINT "/sbc",
2437 const pa_a2dp_endpoint_conf *endpoint_conf = NULL;
2521 endpoint_conf = a2dp_sep_to_a2dp_endpoint_conf(endpoint_path);
2522 pa_assert(endpoint_conf);
2524 if (!endpoint_conf->is_configuration_valid(config, size))
2531 if (!endpoint_conf)
2566 pa_bluetooth_transport_reconfigure(t, &endpoint_conf->bt_codec, a2dp_transport_write, NULL);
2570 pa_log_info("Selected codec: %s", endpoint_conf->bt_codec.name);
2587 const pa_a2dp_endpoint_conf *endpoint_conf;
2604 endpoint_conf = a2dp_sep_to_a2dp_endpoint_conf(endpoint_path);
2605 pa_assert(endpoint_conf);
2607 config_size = endpoint_conf->fill_preferred_configuration(&y->core->default_sample_spec, cap, size, config);
2816 const pa_a2dp_endpoint_conf *endpoint_conf;
2822 endpoint_conf = pa_bluetooth_a2dp_endpoint_conf_iter(i);
2824 codec_id = endpoint_conf->id.codec_id;
2826 if (endpoint_conf->can_be_supported(false)) {
2827 capabilities_size = endpoint_conf->fill_capabilities(capabilities);
2829 endpoint = pa_sprintf_malloc("%s/%s", A2DP_SINK_ENDPOINT, endpoint_conf->bt_codec.name);
2835 if (endpoint_conf->can_be_supported(true)) {
2836 capabilities_size = endpoint_conf->fill_capabilities(capabilities);
2838 endpoint = pa_sprintf_malloc("%s/%s", A2DP_SOURCE_ENDPOINT, endpoint_conf->bt_codec.name);
2876 const pa_a2dp_endpoint_conf *endpoint_conf;
2939 endpoint_conf = pa_bluetooth_a2dp_endpoint_conf_iter(i);
2940 if (endpoint_conf->can_be_supported(false)) {
2941 endpoint = pa_sprintf_malloc("%s/%s", A2DP_SINK_ENDPOINT, endpoint_conf->bt_codec.name);
2946 if (endpoint_conf->can_be_supported(true)) {
2947 endpoint = pa_sprintf_malloc("%s/%s", A2DP_SOURCE_ENDPOINT, endpoint_conf->bt_codec.name);
2975 const pa_a2dp_endpoint_conf *endpoint_conf;
3029 endpoint_conf = pa_bluetooth_a2dp_endpoint_conf_iter(i);
3031 if (endpoint_conf->can_be_supported(false)) {
3032 endpoint = pa_sprintf_malloc("%s/%s", A2DP_SINK_ENDPOINT, endpoint_conf->bt_codec.name);
3037 if (endpoint_conf->can_be_supported(true)) {
3038 endpoint = pa_sprintf_malloc("%s/%s", A2DP_SOURCE_ENDPOINT, endpoint_conf->bt_codec.name);