Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.cc139 const LdacParameters& ldac_config) { in ldac_offloading_capability_match() argument
141 ldac_config.sampleRate) == in ldac_offloading_capability_match()
144 ldac_config.channelMode) == in ldac_offloading_capability_match()
147 ldac_config.bitsPerSample) == in ldac_offloading_capability_match()
149 log::warn("software codec={} capability={}", toString(ldac_config), in ldac_offloading_capability_match()
153 log::verbose("offloading codec={} capability={}", toString(ldac_config), in ldac_offloading_capability_match()
422 auto ldac_config = codec_config->config.ldacConfig(); in A2dpLdacToHalConfig() local
423 ldac_config.sampleRate = A2dpCodecToHalSampleRate(current_codec); in A2dpLdacToHalConfig()
424 if (ldac_config.sampleRate == SampleRate::RATE_UNKNOWN) { in A2dpLdacToHalConfig()
430 ldac_config.channelMode = LdacChannelMode::STEREO; in A2dpLdacToHalConfig()
[all …]
Dclient_interface_hidl_unittest.cc306 LdacParameters ldac_config = codec_config.config.ldacConfig(); in IsCodecOffloadingSupported() local
310 (ldac_config.sampleRate & ldac_capability.sampleRate && in IsCodecOffloadingSupported()
311 ldac_config.channelMode & ldac_capability.channelMode && in IsCodecOffloadingSupported()
312 ldac_config.bitsPerSample & ldac_capability.bitsPerSample); in IsCodecOffloadingSupported()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dcodec_status_aidl.cc137 const LdacConfiguration& ldac_config) { in ldac_offloading_capability_match() argument
139 ldac_config.channelMode) || in ldac_offloading_capability_match()
141 ldac_config.bitsPerSample) || in ldac_offloading_capability_match()
143 ldac_config.sampleRateHz)) { in ldac_offloading_capability_match()
144 log::warn("software codec={} capability={}", ldac_config.toString(), in ldac_offloading_capability_match()
148 log::info("offloading codec={} capability={}", ldac_config.toString(), in ldac_offloading_capability_match()
421 LdacConfiguration ldac_config = {}; in A2dpLdacToHalConfig() local
422 ldac_config.sampleRateHz = A2dpCodecToHalSampleRate(current_codec); in A2dpLdacToHalConfig()
423 if (ldac_config.sampleRateHz <= 0) { in A2dpLdacToHalConfig()
429 ldac_config.channelMode = LdacChannelMode::STEREO; in A2dpLdacToHalConfig()
[all …]