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

Commit 2b6dc199 authored by Lajos Molnar's avatar Lajos Molnar Committed by Android Git Automerger
Browse files

am bcaa315d: Merge "media: allow full range of Vorbis sampling rates" into lmp-mr1-dev

* commit 'bcaa315d':
  media: allow full range of Vorbis sampling rates
parents d1133ba8 bcaa315d
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);