Home
last modified time | relevance | path

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

/system/bt/audio_hal_interface/
Dcodec_status.cc214 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpSbcToHalConfig() local
215 if (current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SOURCE_SBC && in A2dpSbcToHalConfig()
216 current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SINK_SBC) { in A2dpSbcToHalConfig()
225 sbc_config.sampleRate = A2dpCodecToHalSampleRate(current_codec); in A2dpSbcToHalConfig()
228 << ": Unknown SBC sample_rate=" << current_codec.sample_rate; in A2dpSbcToHalConfig()
294 sbc_config.bitsPerSample = A2dpCodecToHalBitsPerSample(current_codec); in A2dpSbcToHalConfig()
297 << current_codec.bits_per_sample; in A2dpSbcToHalConfig()
306 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpAacToHalConfig() local
307 if (current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SOURCE_AAC && in A2dpAacToHalConfig()
308 current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SINK_AAC) { in A2dpAacToHalConfig()
[all …]
Da2dp_encoding.cc230 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in a2dp_get_selected_hal_codec_config() local
231 switch (current_codec.codec_type) { in a2dp_get_selected_hal_codec_config()
266 << ": Unknown codec_type=" << current_codec.codec_type; in a2dp_get_selected_hal_codec_config()
295 btav_a2dp_codec_config_t current_codec = a2dp_codec_configs->getCodecConfig(); in a2dp_get_selected_hal_pcm_config() local
296 pcm_config->sampleRate = A2dpCodecToHalSampleRate(current_codec); in a2dp_get_selected_hal_pcm_config()
297 pcm_config->bitsPerSample = A2dpCodecToHalBitsPerSample(current_codec); in a2dp_get_selected_hal_pcm_config()
298 pcm_config->channelMode = A2dpCodecToHalChannelMode(current_codec); in a2dp_get_selected_hal_pcm_config()
/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.cc357 A2dpCodecConfig* current_codec = bta_av_get_a2dp_current_codec(); in A2DP_VendorGetBitRateLdac() local
358 btav_a2dp_codec_config_t codec_config_ = current_codec->getCodecConfig(); in A2DP_VendorGetBitRateLdac()