Home
last modified time | relevance | path

Searched refs:current_codec (Results 1 – 3 of 3) sorted by relevance

/system/bt/audio_hal_interface/
Da2dp_encoding.cc292 btav_a2dp_codec_config_t current_codec = a2dp_codec_configs->getCodecConfig(); in a2dp_get_selected_hal_codec_config() local
295 switch (current_codec.codec_type) { in a2dp_get_selected_hal_codec_config()
302 sbc_config.sampleRate = a2dp_codec_to_hal_sample_rate(current_codec); in a2dp_get_selected_hal_codec_config()
305 << ": Unknown SBC sample_rate=" << current_codec.sample_rate; in a2dp_get_selected_hal_codec_config()
377 a2dp_codec_to_hal_bits_per_sample(current_codec); in a2dp_get_selected_hal_codec_config()
380 << current_codec.bits_per_sample; in a2dp_get_selected_hal_codec_config()
411 aac_config.sampleRate = a2dp_codec_to_hal_sample_rate(current_codec); in a2dp_get_selected_hal_codec_config()
414 << ": Unknown AAC sample_rate=" << current_codec.sample_rate; in a2dp_get_selected_hal_codec_config()
417 aac_config.channelMode = a2dp_codec_to_hal_channel_mode(current_codec); in a2dp_get_selected_hal_codec_config()
420 << current_codec.channel_mode; in a2dp_get_selected_hal_codec_config()
[all …]
/system/bt/btif/src/
Dbtif_a2dp_control.cc209 A2dpCodecConfig* current_codec = bta_av_get_a2dp_current_codec(); in btif_a2dp_recv_ctrl_data() local
210 if (current_codec != nullptr) { in btif_a2dp_recv_ctrl_data()
211 codec_config = current_codec->getCodecConfig(); in btif_a2dp_recv_ctrl_data()
212 codec_capability = current_codec->getCodecCapability(); in btif_a2dp_recv_ctrl_data()
/system/bt/stack/a2dp/
Da2dp_vendor_ldac.cc360 A2dpCodecConfig* current_codec = bta_av_get_a2dp_current_codec(); in A2DP_VendorGetBitRateLdac() local
361 btav_a2dp_codec_config_t codec_config_ = current_codec->getCodecConfig(); in A2DP_VendorGetBitRateLdac()