Searched refs:aac_config (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/ |
D | codec_status_hidl.cc | 94 const AacParameters& aac_config) { in aac_offloading_capability_match() argument 96 aac_config.objectType) == in aac_offloading_capability_match() 99 aac_config.sampleRate) == in aac_offloading_capability_match() 102 aac_config.channelMode) == in aac_offloading_capability_match() 105 aac_config.variableBitRateEnabled != AacVariableBitRate::DISABLED) || in aac_offloading_capability_match() 107 aac_config.bitsPerSample) == in aac_offloading_capability_match() 109 log::warn("software codec={} capability={}", toString(aac_config), in aac_offloading_capability_match() 113 log::verbose("offloading codec={} capability={}", toString(aac_config), in aac_offloading_capability_match() 323 auto aac_config = codec_config->config.aacConfig(); in A2dpAacToHalConfig() local 327 aac_config.objectType = AacObjectType::MPEG2_LC; in A2dpAacToHalConfig() [all …]
|
D | client_interface_hidl_unittest.cc | 291 AacParameters aac_config = codec_config.config.aacConfig(); in IsCodecOffloadingSupported() local 295 (aac_config.objectType & aac_capability.objectType && in IsCodecOffloadingSupported() 296 aac_config.sampleRate & aac_capability.sampleRate && in IsCodecOffloadingSupported() 297 aac_config.channelMode & aac_capability.channelMode && in IsCodecOffloadingSupported() 298 (aac_config.variableBitRateEnabled == in IsCodecOffloadingSupported() 302 aac_config.bitsPerSample & aac_capability.bitsPerSample); in IsCodecOffloadingSupported()
|
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/ |
D | codec_status_aidl.cc | 101 const AacConfiguration& aac_config) { in aac_offloading_capability_match() argument 102 if (!ContainedInVector(aac_capability.channelMode, aac_config.channelMode) || in aac_offloading_capability_match() 103 !ContainedInVector(aac_capability.objectType, aac_config.objectType) || in aac_offloading_capability_match() 105 aac_config.bitsPerSample) || in aac_offloading_capability_match() 107 aac_config.sampleRateHz) || in aac_offloading_capability_match() 109 aac_config.variableBitRateEnabled)) { in aac_offloading_capability_match() 110 log::warn("software codec={} capability={}", aac_config.toString(), in aac_offloading_capability_match() 114 log::info("offloading codec={} capability={}", aac_config.toString(), in aac_offloading_capability_match() 324 AacConfiguration aac_config = {}; in A2dpAacToHalConfig() local 328 aac_config.objectType = AacObjectType::MPEG2_LC; in A2dpAacToHalConfig() [all …]
|