diff options
author | Marco Nelissen <marcone@google.com> | 2009-11-02 13:52:11 -0800 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2009-11-02 13:55:04 -0800 |
commit | 758613de2829f92122d3b684733a5fe815e488c1 (patch) | |
tree | 05e0e3e1ffdf2145d97eb8c7a0dcf2f2bb03ff48 /media/libmediaplayerservice | |
parent | 9efd523c4611c0cf10e712453a699c083a01064c (diff) | |
download | frameworks_base-758613de2829f92122d3b684733a5fe815e488c1.zip frameworks_base-758613de2829f92122d3b684733a5fe815e488c1.tar.gz frameworks_base-758613de2829f92122d3b684733a5fe815e488c1.tar.bz2 |
Make sure the visualization stops immediately when sound stops, instead of continuing for a fraction of a second.
Diffstat (limited to 'media/libmediaplayerservice')
-rw-r--r-- | media/libmediaplayerservice/MediaPlayerService.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/MediaPlayerService.cpp b/media/libmediaplayerservice/MediaPlayerService.cpp index 9d2c779..0b75a2b 100644 --- a/media/libmediaplayerservice/MediaPlayerService.cpp +++ b/media/libmediaplayerservice/MediaPlayerService.cpp @@ -1509,6 +1509,7 @@ void MediaPlayerService::AudioOutput::pause() { LOGV("pause"); if (mTrack) mTrack->pause(); + lastWriteTime = 0; } void MediaPlayerService::AudioOutput::close() |