summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorcyanogen <shade@chemlab.org>2010-09-22 10:36:21 -0400
committercyanogen <shade@chemlab.org>2010-09-22 10:36:21 -0400
commit0bdfdcd238bde3aafabe636607368da8b5d9d32d (patch)
treee633283c360b25b837e48f3e28faa172c701c9ce /include
parent302ee369aa6a044674bd70d11d1a8960c666d44b (diff)
downloadframeworks_base-0bdfdcd238bde3aafabe636607368da8b5d9d32d.zip
frameworks_base-0bdfdcd238bde3aafabe636607368da8b5d9d32d.tar.gz
frameworks_base-0bdfdcd238bde3aafabe636607368da8b5d9d32d.tar.bz2
Revert "Revert "Squashed commit of the following:""
This reverts commit 0eb243f1c9610e467f3e238415b80c92ff4e9635. Breaks HTML5 video.
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/AudioPlayer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/stagefright/AudioPlayer.h b/include/media/stagefright/AudioPlayer.h
index 9af5871..9a09586 100644
--- a/include/media/stagefright/AudioPlayer.h
+++ b/include/media/stagefright/AudioPlayer.h
@@ -86,6 +86,10 @@ private:
bool mStarted;
+ bool mIsFirstBuffer;
+ status_t mFirstBufferResult;
+ MediaBuffer *mFirstBuffer;
+
sp<MediaPlayerBase::AudioSink> mAudioSink;
static void AudioCallback(int event, void *user, void *info);