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

Commit 3c5683f3 authored by Arun Johnson's avatar Arun Johnson
Browse files

Changing max SampleRate limits for raw audio decoder

bug: 240984267
Change-Id: Ib3d0b9755f0ec99daf5b3241ca23d3b0cc1fb839
parent 1c6932c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1426,7 +1426,7 @@ public final class MediaCodecInfo {
                sampleRates = new int[] { 8000, 12000, 16000, 24000, 48000 };
                maxChannels = 255;
            } else if (mime.equalsIgnoreCase(MediaFormat.MIMETYPE_AUDIO_RAW)) {
                sampleRateRange = Range.create(1, 96000);
                sampleRateRange = Range.create(1, 192000);
                bitRates = Range.create(1, 10000000);
                maxChannels = AudioSystem.OUT_CHANNEL_COUNT_MAX;
            } else if (mime.equalsIgnoreCase(MediaFormat.MIMETYPE_AUDIO_FLAC)) {