Home
last modified time | relevance | path

Searched refs:aptx_config (Results 1 – 2 of 2) sorted by relevance

/system/bt/audio_hal_interface/
Da2dp_encoding.cc455 auto aptx_config = codec_config->config.aptxConfig(); in a2dp_get_selected_hal_codec_config() local
456 aptx_config.sampleRate = a2dp_codec_to_hal_sample_rate(current_codec); in a2dp_get_selected_hal_codec_config()
457 if (aptx_config.sampleRate == SampleRate::RATE_UNKNOWN) { in a2dp_get_selected_hal_codec_config()
462 aptx_config.channelMode = a2dp_codec_to_hal_channel_mode(current_codec); in a2dp_get_selected_hal_codec_config()
463 if (aptx_config.channelMode == ChannelMode::UNKNOWN) { in a2dp_get_selected_hal_codec_config()
468 aptx_config.bitsPerSample = in a2dp_get_selected_hal_codec_config()
470 if (aptx_config.bitsPerSample == BitsPerSample::BITS_UNKNOWN) { in a2dp_get_selected_hal_codec_config()
475 codec_config->config.aptxConfig(aptx_config); in a2dp_get_selected_hal_codec_config()
Dclient_interface_unittest.cc182 AptxParameters aptx_config = codec_config.config.aptxConfig(); in IsOffloadCodecConfigurationSupported() local
186 (aptx_config.sampleRate & aptx_capability.sampleRate && in IsOffloadCodecConfigurationSupported()
187 aptx_config.channelMode & aptx_capability.channelMode && in IsOffloadCodecConfigurationSupported()
188 aptx_config.bitsPerSample & aptx_capability.bitsPerSample); in IsOffloadCodecConfigurationSupported()