diff options
-rw-r--r-- | sound/audiostream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/audiostream.cpp b/sound/audiostream.cpp index bd628d18d7..168ca49e2d 100644 --- a/sound/audiostream.cpp +++ b/sound/audiostream.cpp @@ -728,7 +728,7 @@ public: //Common::StackLock lock(_mutex); return _queue.empty(); } - virtual bool endOfStream() const { return _finished; } + virtual bool endOfStream() const { return _finished && _queue.empty(); } // Implement the QueuingAudioStream API virtual void queueAudioStream(AudioStream *stream, bool disposeAfterUse); |