Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.cc119 const AptxParameters& aptx_config) { in aptx_offloading_capability_match() argument
121 aptx_config.sampleRate) == in aptx_offloading_capability_match()
124 aptx_config.channelMode) == in aptx_offloading_capability_match()
127 aptx_config.bitsPerSample) == in aptx_offloading_capability_match()
129 log::warn("software codec={} capability={}", toString(aptx_config), in aptx_offloading_capability_match()
133 log::verbose("offloading codec={} capability={}", toString(aptx_config), in aptx_offloading_capability_match()
390 auto aptx_config = codec_config->config.aptxConfig(); in A2dpAptxToHalConfig() local
391 aptx_config.sampleRate = A2dpCodecToHalSampleRate(current_codec); in A2dpAptxToHalConfig()
392 if (aptx_config.sampleRate == SampleRate::RATE_UNKNOWN) { in A2dpAptxToHalConfig()
396 aptx_config.channelMode = A2dpCodecToHalChannelMode(current_codec); in A2dpAptxToHalConfig()
[all …]
Dclient_interface_hidl_unittest.cc318 AptxParameters aptx_config = codec_config.config.aptxConfig(); in IsCodecOffloadingSupported() local
322 (aptx_config.sampleRate & aptx_capability.sampleRate && in IsCodecOffloadingSupported()
323 aptx_config.channelMode & aptx_capability.channelMode && in IsCodecOffloadingSupported()
324 aptx_config.bitsPerSample & aptx_capability.bitsPerSample); in IsCodecOffloadingSupported()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dcodec_status_aidl.cc120 const AptxConfiguration& aptx_config) { in aptx_offloading_capability_match() argument
122 aptx_config.channelMode) || in aptx_offloading_capability_match()
124 aptx_config.bitsPerSample) || in aptx_offloading_capability_match()
126 aptx_config.sampleRateHz)) { in aptx_offloading_capability_match()
127 log::warn("software codec={} capability={}", aptx_config.toString(), in aptx_offloading_capability_match()
131 log::info("offloading codec={} capability={}", aptx_config.toString(), in aptx_offloading_capability_match()
390 AptxConfiguration aptx_config = {}; in A2dpAptxToHalConfig() local
391 aptx_config.sampleRateHz = A2dpCodecToHalSampleRate(current_codec); in A2dpAptxToHalConfig()
392 if (aptx_config.sampleRateHz <= 0) { in A2dpAptxToHalConfig()
396 aptx_config.channelMode = A2dpCodecToHalChannelMode(current_codec); in A2dpAptxToHalConfig()
[all …]