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

Commit a204994e authored by Eric Laurent's avatar Eric Laurent
Browse files

audio policy: add missing formats to audio_policy.conf parser.

Change-Id: I872c11d080c505abe3025e7bbb554ca9711de9af
parent 8bce8414
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,