aboutsummaryrefslogtreecommitdiff
path: root/sound/vorbis.cpp
diff options
context:
space:
mode:
authorMax Horn2004-11-27 13:54:09 +0000
committerMax Horn2004-11-27 13:54:09 +0000
commit1a7ca2dc2a71fed65673b4e3934f2151cc8475d1 (patch)
treeb1256be8e9864aeda86ccfd77fa67353d0029859 /sound/vorbis.cpp
parent1733863e711b1a9ef234416a21369b6bf713ee6f (diff)
downloadscummvm-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 'sound/vorbis.cpp')
-rw-r--r--sound/vorbis.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/sound/vorbis.cpp b/sound/vorbis.cpp
index e629a9b093..2b3b416fb3 100644
--- a/sound/vorbis.cpp
+++ b/sound/vorbis.cpp
@@ -221,7 +221,6 @@ public:
int readBuffer(int16 *buffer, const int numSamples);
- int16 read();
bool endOfData() const { return eosIntern(); }
bool isStereo() const { return _numChannels >= 2; }
@@ -259,16 +258,6 @@ VorbisInputStream::~VorbisInputStream() {
delete _ov_file;
}
-inline int16 VorbisInputStream::read() {
- assert(!eosIntern());
-
- int16 sample = *_pos++;
- if (_pos >= _bufferEnd) {
- refill();
- }
- return sample;
-}
-
inline bool VorbisInputStream::eosIntern() const {
return _pos >= _bufferEnd;
}