Home
last modified time | relevance | path

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

/system/bt/audio_hal_interface/
Dcodec_status.cc131 const LdacParameters& ldac_config) { in ldac_offloading_capability_match() argument
133 ldac_config.sampleRate) == in ldac_offloading_capability_match()
136 ldac_config.channelMode) == in ldac_offloading_capability_match()
139 ldac_config.bitsPerSample) == in ldac_offloading_capability_match()
141 LOG(WARNING) << __func__ << ": software codec=" << toString(ldac_config) in ldac_offloading_capability_match()
145 VLOG(1) << __func__ << ": offloading codec=" << toString(ldac_config) in ldac_offloading_capability_match()
420 auto ldac_config = codec_config->config.ldacConfig(); in A2dpLdacToHalConfig() local
421 ldac_config.sampleRate = A2dpCodecToHalSampleRate(current_codec); in A2dpLdacToHalConfig()
422 if (ldac_config.sampleRate == SampleRate::RATE_UNKNOWN) { in A2dpLdacToHalConfig()
429 ldac_config.channelMode = LdacChannelMode::STEREO; in A2dpLdacToHalConfig()
[all …]
Dclient_interface_unittest.cc224 LdacParameters ldac_config = codec_config.config.ldacConfig(); in IsCodecOffloadingSupported() local
228 (ldac_config.sampleRate & ldac_capability.sampleRate && in IsCodecOffloadingSupported()
229 ldac_config.channelMode & ldac_capability.channelMode && in IsCodecOffloadingSupported()
230 ldac_config.bitsPerSample & ldac_capability.bitsPerSample); in IsCodecOffloadingSupported()