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

Commit 15af32c5 authored by Masamitsu Nakamura's avatar Masamitsu Nakamura Committed by android-build-merger
Browse files

Merge "Set bit rate infomation to meta for OggExtractor" am: c08194ae

am: 417228cb

Change-Id: I12cbe82b8ca1e20995b3c521f704b37d5de5259f
parents 831da6ee 417228cb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1123,6 +1123,7 @@ status_t MyVorbisExtractor::verifyHeader(
            mMeta->setData(kKeyVorbisInfo, 0, data, size);
            mMeta->setInt32(kKeySampleRate, mVi.rate);
            mMeta->setInt32(kKeyChannelCount, mVi.channels);
            mMeta->setInt32(kKeyBitRate, mVi.bitrate_nominal);

            ALOGV("lower-bitrate = %ld", mVi.bitrate_lower);
            ALOGV("upper-bitrate = %ld", mVi.bitrate_upper);