diff options
-rw-r--r-- | audio/audiostream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/audiostream.h b/audio/audiostream.h index e3b8773823..5202a4711c 100644 --- a/audio/audiostream.h +++ b/audio/audiostream.h @@ -289,7 +289,8 @@ public: int getRate() const { return _parent->getRate(); } - bool endOfData() const { return (_pos >= _length) || _parent->endOfStream(); } + bool endOfData() const { return (_pos >= _length) || _parent->endOfData(); } + bool endOfStream() const { return (_pos >= _length) || _parent->endOfStream(); } bool seek(const Timestamp &where); |