diff options
Diffstat (limited to 'saga/music.cpp')
-rw-r--r-- | saga/music.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/saga/music.cpp b/saga/music.cpp index b1a949b8f7..da4dce3681 100644 --- a/saga/music.cpp +++ b/saga/music.cpp @@ -74,7 +74,6 @@ public: int readBuffer(int16 *buffer, const int numSamples); - int16 read(); bool endOfData() const { return eosIntern(); } bool isStereo() const { return true; } int getRate() const { return 11025; } @@ -99,16 +98,6 @@ RAWInputStream::~RAWInputStream() { _file->decRef(); } -inline int16 RAWInputStream::read() { - assert(!eosIntern()); - - int16 sample = *_pos++; - if (_pos >= _bufferEnd) { - refill(); - } - return sample; -} - inline bool RAWInputStream::eosIntern() const { return _pos >= _bufferEnd; } |