Searched refs:current_codec (Results 1 – 6 of 6) sorted by relevance
227 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpSbcToHalConfig() local228 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() local317 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 …]
300 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in a2dp_get_selected_hal_codec_config() local301 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() local376 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()
223 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpSbcToHalConfig() local224 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() local314 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 …]
249 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in a2dp_get_selected_hal_codec_config() local250 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() local321 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()
171 A2dpCodecConfig* current_codec = bta_av_get_a2dp_current_codec(); in btif_a2dp_control_on_get_output_audio_config() local172 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()
358 A2dpCodecConfig* current_codec = bta_av_get_a2dp_current_codec(); in A2DP_VendorGetBitRateLdac() local359 btav_a2dp_codec_config_t codec_config_ = current_codec->getCodecConfig(); in A2DP_VendorGetBitRateLdac()