aboutsummaryrefslogtreecommitdiff
path: root/sound/mixer.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-09-02 20:15:14 +0000
committerPaweł Kołodziejski2002-09-02 20:15:14 +0000
commit687e82c0fa0811b7217c036597befb70662c2bd3 (patch)
tree29535eccac7795d39e003e9d5fea340f4b8114d4 /sound/mixer.cpp
parentca03c9b5fc58b6beb5dbc6c1307464ef9e2c9f45 (diff)
downloadscummvm-rg350-687e82c0fa0811b7217c036597befb70662c2bd3.tar.gz
scummvm-rg350-687e82c0fa0811b7217c036597befb70662c2bd3.tar.bz2
scummvm-rg350-687e82c0fa0811b7217c036597befb70662c2bd3.zip
fixes
svn-id: r4897
Diffstat (limited to 'sound/mixer.cpp')
-rw-r--r--sound/mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 150e5009e5..8444c31ba0 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -873,7 +873,7 @@ void SoundMixer::ChannelMP3CDMusic::mix(int16 * data, uint len) {
if (!_stream.next_frame) {
memset(_ptr, 0, _bufferSize + MAD_BUFFER_GUARD);
- _size = fread(_ptr, 1, _bufferSize, _file);
+ _size = _file->read(_ptr, _bufferSize);
not_decoded = 0;
} else {
not_decoded = _stream.bufend - _stream.next_frame;