diff options
author | vivek mehta <mvivek@codeaurora.org> | 2015-07-16 12:56:57 -0700 |
---|---|---|
committer | Satish Kamuju <skamuj@codeaurora.org> | 2015-10-06 17:36:46 +0530 |
commit | bc3028750d3438ebf108298e93f12de461f56430 (patch) | |
tree | 20081f78f461ee05b8a1c2cf842387ca3c89f4e5 /media/libstagefright/codecs/mp3dec/SoftMP3.h | |
parent | 9953765019ae2243e98e8e74eee327c9893b93d1 (diff) | |
download | frameworks_av-bc3028750d3438ebf108298e93f12de461f56430.zip frameworks_av-bc3028750d3438ebf108298e93f12de461f56430.tar.gz frameworks_av-bc3028750d3438ebf108298e93f12de461f56430.tar.bz2 |
stagefright: Add support for custom size i/p buffer
- handle non default input buffer size
- fix issues associated with non-default buffer size
Change-Id: Iad31f5c85601983b01e18e130b1c3eecb3988e30
Diffstat (limited to 'media/libstagefright/codecs/mp3dec/SoftMP3.h')
-rw-r--r-- | media/libstagefright/codecs/mp3dec/SoftMP3.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/mp3dec/SoftMP3.h b/media/libstagefright/codecs/mp3dec/SoftMP3.h index f9e7b53..c769795 100644 --- a/media/libstagefright/codecs/mp3dec/SoftMP3.h +++ b/media/libstagefright/codecs/mp3dec/SoftMP3.h @@ -70,6 +70,9 @@ private: AWAITING_ENABLED } mOutputPortSettingsChange; + int64_t mLastAnchorTimeUs; + int64_t mNextOutBufferTimeUs; + void initPorts(); void initDecoder(); |