aboutsummaryrefslogtreecommitdiff
path: root/audio/audiostream.h
diff options
context:
space:
mode:
authorMatthew Hoops2014-08-01 01:39:46 -0400
committerMatthew Hoops2014-08-01 01:39:46 -0400
commitd8ef40879ca8f9d05384135ad2383f3677cb38cf (patch)
tree49754c61987092e4c65375a2ebf8d09bb34474b2 /audio/audiostream.h
parent82d464367b1060003886b1a331a03f5ca099499f (diff)
downloadscummvm-rg350-d8ef40879ca8f9d05384135ad2383f3677cb38cf.tar.gz
scummvm-rg350-d8ef40879ca8f9d05384135ad2383f3677cb38cf.tar.bz2
scummvm-rg350-d8ef40879ca8f9d05384135ad2383f3677cb38cf.zip
AUDIO: Better handle endOfStream() vs endOfData() in SubLoopingAudioStream
Diffstat (limited to 'audio/audiostream.h')
-rw-r--r--audio/audiostream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/audiostream.h b/audio/audiostream.h
index ad842d7ca8..e3b8773823 100644
--- a/audio/audiostream.h
+++ b/audio/audiostream.h
@@ -248,7 +248,8 @@ public:
DisposeAfterUse::Flag disposeAfterUse = DisposeAfterUse::YES);
int readBuffer(int16 *buffer, const int numSamples);
- bool endOfData() const { return _done; }
+ bool endOfData() const;
+ bool endOfStream() const;
bool isStereo() const { return _parent->isStereo(); }
int getRate() const { return _parent->getRate(); }