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

Commit b020aa00 authored by OrdenKrieger's avatar OrdenKrieger Committed by Arne Coucheron
Browse files

libstagefright: Add more sample rates for FLAC

* Fix for example:
  E/FLACExtractor(  636): unsupported sample rate 192000

* Based on
  https://github.com/LineageOS/android_frameworks_av/commit/b2c7134f634b8798b22b5ebe03b0b258b1d7196d
  https://github.com/google/ExoPlayer/commit/0b0868889ec3caaa64579d0f3212229fc987a304

Change-Id: I338ddff8f866c3646651243df0b31099e81ab56c
parent 9e285370
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -583,6 +583,8 @@ status_t FLACParser::init()
        case 48000:
        case 48000:
        case 88200:
        case 88200:
        case 96000:
        case 96000:
        case 176400:
        case 192000:
            break;
            break;
        default:
        default:
            ALOGE("unsupported sample rate %u", getSampleRate());
            ALOGE("unsupported sample rate %u", getSampleRate());