diff options
author | Max Horn | 2004-11-27 13:54:09 +0000 |
---|---|---|
committer | Max Horn | 2004-11-27 13:54:09 +0000 |
commit | 1a7ca2dc2a71fed65673b4e3934f2151cc8475d1 (patch) | |
tree | b1256be8e9864aeda86ccfd77fa67353d0029859 /saga | |
parent | 1733863e711b1a9ef234416a21369b6bf713ee6f (diff) | |
download | scummvm-rg350-1a7ca2dc2a71fed65673b4e3934f2151cc8475d1.tar.gz scummvm-rg350-1a7ca2dc2a71fed65673b4e3934f2151cc8475d1.tar.bz2 scummvm-rg350-1a7ca2dc2a71fed65673b4e3934f2151cc8475d1.zip |
AudioStream::read() has been removed quite some time ago, now making sure that change is reflected everywhere
svn-id: r15911
Diffstat (limited to 'saga')
-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; } |