aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-08-04 22:49:29 +0000
committerMax Horn2003-08-04 22:49:29 +0000
commit8850f858bc8ceb86b84f75602241aad886e8173d (patch)
tree631b1c68a842a920bca96abcc4ab7beb7fa293c3
parent97c31509241dff1ddc1b99a2d25d5538ef59c695 (diff)
downloadscummvm-rg350-8850f858bc8ceb86b84f75602241aad886e8173d.tar.gz
scummvm-rg350-8850f858bc8ceb86b84f75602241aad886e8173d.tar.bz2
scummvm-rg350-8850f858bc8ceb86b84f75602241aad886e8173d.zip
not really sure if using readBuffer would give any gain in CopyRateConverter
svn-id: r9470
-rw-r--r--sound/rate.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/rate.cpp b/sound/rate.cpp
index 955c0bbf47..552c3fbd14 100644
--- a/sound/rate.cpp
+++ b/sound/rate.cpp
@@ -204,9 +204,6 @@ public:
int16 tmp[2];
st_size_t len = osamp;
assert(input.isStereo() == stereo);
-
-// TODO: use readBuffer
-
while (!input.eos() && len--) {
tmp[0] = tmp[1] = (input.read() * vol) >> 8;
if (stereo)