Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eeaf40a8 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "audio policy: add missing formats to audio_policy.conf parser." into lmp-dev

parents 225d5b20 a204994e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5316,7 +5316,9 @@ audio_channel_mask_t AudioPolicyManager::AudioPort::pickChannelMask() const
const audio_format_t AudioPolicyManager::AudioPort::sPcmFormatCompareTable[] = {
        AUDIO_FORMAT_DEFAULT,
        AUDIO_FORMAT_PCM_16_BIT,
        AUDIO_FORMAT_PCM_8_24_BIT,
        AUDIO_FORMAT_PCM_24_BIT_PACKED,
        AUDIO_FORMAT_PCM_32_BIT,
};

int AudioPolicyManager::AudioPort::compareFormats(audio_format_t format1,