Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dcodec_status_aidl.cc155 const std::optional<OpusConfiguration>& opus_config) { in opus_offloading_capability_match() argument
157 opus_config->channelMode) || in opus_offloading_capability_match()
159 opus_config->frameDurationUs) || in opus_offloading_capability_match()
161 opus_config->samplingFrequencyHz)) { in opus_offloading_capability_match()
162 log::warn("software codec={} capability={}", opus_config->toString(), in opus_offloading_capability_match()
166 log::info("offloading codec={} capability={}", opus_config->toString(), in opus_offloading_capability_match()
480 OpusConfiguration opus_config = {}; in A2dpOpusToHalConfig() local
482 opus_config.pcmBitDepth = A2dpCodecToHalBitsPerSample(current_codec); in A2dpOpusToHalConfig()
483 if (opus_config.pcmBitDepth <= 0) { in A2dpOpusToHalConfig()
488 opus_config.samplingFrequencyHz = A2dpCodecToHalSampleRate(current_codec); in A2dpOpusToHalConfig()
[all …]