Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dcodec_status_aidl.cc227 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpSbcToHalConfig() local
228 if (current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SOURCE_SBC && in A2dpSbcToHalConfig()
229 current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SINK_SBC) { in A2dpSbcToHalConfig()
236 sbc_config.sampleRateHz = A2dpCodecToHalSampleRate(current_codec); in A2dpSbcToHalConfig()
238 log::error("Unknown SBC sample_rate={}", current_codec.sample_rate); in A2dpSbcToHalConfig()
304 sbc_config.bitsPerSample = A2dpCodecToHalBitsPerSample(current_codec); in A2dpSbcToHalConfig()
306 log::error("Unknown SBC bits_per_sample={}", current_codec.bits_per_sample); in A2dpSbcToHalConfig()
316 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpAacToHalConfig() local
317 if (current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SOURCE_AAC && in A2dpAacToHalConfig()
318 current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SINK_AAC) { in A2dpAacToHalConfig()
[all …]
Da2dp_encoding_aidl.cc300 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in a2dp_get_selected_hal_codec_config() local
301 switch (current_codec.codec_type) { in a2dp_get_selected_hal_codec_config()
341 log::error("Unknown codec_type={}", current_codec.codec_type); in a2dp_get_selected_hal_codec_config()
355 if (current_codec.codec_type == BTAV_A2DP_CODEC_INDEX_SOURCE_SBC && in a2dp_get_selected_hal_codec_config()
375 btav_a2dp_codec_config_t current_codec = a2dp_codec_configs->getCodecConfig(); in a2dp_get_selected_hal_pcm_config() local
376 pcm_config->sampleRateHz = A2dpCodecToHalSampleRate(current_codec); in a2dp_get_selected_hal_pcm_config()
377 pcm_config->bitsPerSample = A2dpCodecToHalBitsPerSample(current_codec); in a2dp_get_selected_hal_pcm_config()
378 pcm_config->channelMode = A2dpCodecToHalChannelMode(current_codec); in a2dp_get_selected_hal_pcm_config()
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.cc223 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpSbcToHalConfig() local
224 if (current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SOURCE_SBC && in A2dpSbcToHalConfig()
225 current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SINK_SBC) { in A2dpSbcToHalConfig()
234 sbc_config.sampleRate = A2dpCodecToHalSampleRate(current_codec); in A2dpSbcToHalConfig()
236 log::error("Unknown SBC sample_rate={}", current_codec.sample_rate); in A2dpSbcToHalConfig()
302 sbc_config.bitsPerSample = A2dpCodecToHalBitsPerSample(current_codec); in A2dpSbcToHalConfig()
304 log::error("Unknown SBC bits_per_sample={}", current_codec.bits_per_sample); in A2dpSbcToHalConfig()
313 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpAacToHalConfig() local
314 if (current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SOURCE_AAC && in A2dpAacToHalConfig()
315 current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SINK_AAC) { in A2dpAacToHalConfig()
[all …]
Da2dp_encoding_hidl.cc249 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in a2dp_get_selected_hal_codec_config() local
250 switch (current_codec.codec_type) { in a2dp_get_selected_hal_codec_config()
284 log::error("Unknown codec_type={}", current_codec.codec_type); in a2dp_get_selected_hal_codec_config()
300 if (current_codec.codec_type == BTAV_A2DP_CODEC_INDEX_SOURCE_SBC && in a2dp_get_selected_hal_codec_config()
320 btav_a2dp_codec_config_t current_codec = a2dp_codec_configs->getCodecConfig(); in a2dp_get_selected_hal_pcm_config() local
321 pcm_config->sampleRate = A2dpCodecToHalSampleRate(current_codec); in a2dp_get_selected_hal_pcm_config()
322 pcm_config->bitsPerSample = A2dpCodecToHalBitsPerSample(current_codec); in a2dp_get_selected_hal_pcm_config()
323 pcm_config->channelMode = A2dpCodecToHalChannelMode(current_codec); in a2dp_get_selected_hal_pcm_config()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_a2dp_control.cc171 A2dpCodecConfig* current_codec = bta_av_get_a2dp_current_codec(); in btif_a2dp_control_on_get_output_audio_config() local
172 if (current_codec != nullptr) { in btif_a2dp_control_on_get_output_audio_config()
173 codec_config = current_codec->getCodecConfig(); in btif_a2dp_control_on_get_output_audio_config()
174 codec_capability = current_codec->getCodecCapability(); in btif_a2dp_control_on_get_output_audio_config()
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_vendor_ldac.cc358 A2dpCodecConfig* current_codec = bta_av_get_a2dp_current_codec(); in A2DP_VendorGetBitRateLdac() local
359 btav_a2dp_codec_config_t codec_config_ = current_codec->getCodecConfig(); in A2DP_VendorGetBitRateLdac()