diff options
author | Andreas Huber <andih@google.com> | 2010-10-05 10:25:34 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-10-05 13:53:39 -0700 |
commit | b2e3954c94717e43b3dc9b880564f166cfbbc0a2 (patch) | |
tree | 3ebd2a7b944856cd2048a05aec0c11b4e639a9ee /media/libstagefright/include/AwesomePlayer.h | |
parent | 50817931e4cb4ae0019fd13c831a2839349834c5 (diff) | |
download | frameworks_av-b2e3954c94717e43b3dc9b880564f166cfbbc0a2.zip frameworks_av-b2e3954c94717e43b3dc9b880564f166cfbbc0a2.tar.gz frameworks_av-b2e3954c94717e43b3dc9b880564f166cfbbc0a2.tar.bz2 |
Make sure to call AudioTrack::stop() instead of AudioTrack::pause() after submitting all samples to AudioTrack to make sure those remaining samples are actually played out.
Change-Id: Id574a0203efcb5e565f1b0fe77869fc33b9a9d56
Diffstat (limited to 'media/libstagefright/include/AwesomePlayer.h')
-rw-r--r-- | media/libstagefright/include/AwesomePlayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h index 600faca..40ea37d 100644 --- a/media/libstagefright/include/AwesomePlayer.h +++ b/media/libstagefright/include/AwesomePlayer.h @@ -221,7 +221,7 @@ private: status_t setDataSource_l(const sp<MediaExtractor> &extractor); void reset_l(); status_t seekTo_l(int64_t timeUs); - status_t pause_l(); + status_t pause_l(bool at_eos = false); void initRenderer_l(); void seekAudioIfNecessary_l(); |