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

Commit a5d3fc04 authored by Andy Hung's avatar Andy Hung Committed by Android Git Automerger
Browse files

am 8351fccc: Merge "Fix track sample rate limit" into lmp-dev

* commit '8351fccc338f28947c26bd530ef2b93fb021eca7':
  Fix track sample rate limit
parents 007a6fb3 1ade85d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -479,7 +479,7 @@ public class AudioTrack
                                 int channelConfig, int audioFormat, int mode) {
        //--------------
        // sample rate, note these values are subject to change
        if ( (sampleRateInHz < 4000) || (sampleRateInHz > 48000) ) {
        if (sampleRateInHz < SAMPLE_RATE_HZ_MIN || sampleRateInHz > SAMPLE_RATE_HZ_MAX) {
            throw new IllegalArgumentException(sampleRateInHz
                    + "Hz is not a supported sample rate.");
        }