diff options
author | Andreas Huber <andih@google.com> | 2010-09-28 09:16:21 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-09-28 11:26:03 -0700 |
commit | db6222212528637d8f2afa7f49fc3c8c915bafbe (patch) | |
tree | b60b0bc64fb9e028a566002cd61e614e593f4618 /media/libstagefright/include/VorbisDecoder.h | |
parent | 02fa834249a01144d6f23137951538600aa5d611 (diff) | |
download | frameworks_av-db6222212528637d8f2afa7f49fc3c8c915bafbe.zip frameworks_av-db6222212528637d8f2afa7f49fc3c8c915bafbe.tar.gz frameworks_av-db6222212528637d8f2afa7f49fc3c8c915bafbe.tar.bz2 |
Vorbis files may have more samples encoded that should be used, i.e. we have to trim samples at the end of the stream. This is crucial for proper looping of some audio files.
related-to-bug: 3036592
Change-Id: Ib142b171c829ed74156c0281d9d4543fcc96c802
Diffstat (limited to 'media/libstagefright/include/VorbisDecoder.h')
-rw-r--r-- | media/libstagefright/include/VorbisDecoder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/include/VorbisDecoder.h b/media/libstagefright/include/VorbisDecoder.h index e9a488a..13e8b77 100644 --- a/media/libstagefright/include/VorbisDecoder.h +++ b/media/libstagefright/include/VorbisDecoder.h @@ -55,6 +55,7 @@ private: int32_t mSampleRate; int64_t mAnchorTimeUs; int64_t mNumFramesOutput; + int32_t mNumFramesLeftOnPage; vorbis_dsp_state *mState; vorbis_info *mVi; |