AUDIO: Better handle endOfStream() vs endOfData() in SubSeekableAudioStream

This commit is contained in:
Matthew Hoops 2014-08-01 01:47:30 -04:00
parent d8ef40879c
commit dc155b23f0

View File

@ -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);