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

Commit 610e288d authored by Lajos Molnar's avatar Lajos Molnar
Browse files

media: allow full range of Vorbis sampling rates

Bug: 18615604
Change-Id: I51f0c5c81145b94626f2b7e4505b905b63a572bf
parent 7fbcac6a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -648,7 +648,7 @@ public final class MediaCodecInfo {
                maxChannels = 48;
            } else if (mime.equalsIgnoreCase(MediaFormat.MIMETYPE_AUDIO_VORBIS)) {
                bitRates = Range.create(32000, 500000);
                sampleRates = new int[] { 8000, 12000, 16000, 24000, 48000, 192000 };
                sampleRateRange = Range.create(8000, 192000);
                maxChannels = 255;
            } else if (mime.equalsIgnoreCase(MediaFormat.MIMETYPE_AUDIO_OPUS)) {
                bitRates = Range.create(6000, 510000);