diff options
author | Max Horn | 2010-11-01 20:41:03 +0000 |
---|---|---|
committer | Max Horn | 2010-11-01 20:41:03 +0000 |
commit | ebb7ed2b8a5118289f3fa5383fdf88fa370abb0c (patch) | |
tree | 3985f4a2a47d4b1258752efab30e992c0507b37f /sound/decoders | |
parent | 3d5e2fa82093bba2492fc65e6f4ebd735907ea1e (diff) | |
download | scummvm-rg350-ebb7ed2b8a5118289f3fa5383fdf88fa370abb0c.tar.gz scummvm-rg350-ebb7ed2b8a5118289f3fa5383fdf88fa370abb0c.tar.bz2 scummvm-rg350-ebb7ed2b8a5118289f3fa5383fdf88fa370abb0c.zip |
SOUND: Convert some (f)printf + fflush to debug
svn-id: r54022
Diffstat (limited to 'sound/decoders')
-rw-r--r-- | sound/decoders/wave.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sound/decoders/wave.cpp b/sound/decoders/wave.cpp index eeab026ae5..fcaace5301 100644 --- a/sound/decoders/wave.cpp +++ b/sound/decoders/wave.cpp @@ -90,15 +90,15 @@ bool loadWAVFromStream(Common::SeekableReadStream &stream, int &size, int &rate, if (blockAlign_ != 0) *blockAlign_ = blockAlign; #if 0 - printf("WAVE information:\n"); - printf(" total size: %d\n", wavLength); - printf(" fmt size: %d\n", fmtLength); - printf(" type: %d\n", type); - printf(" numChannels: %d\n", numChannels); - printf(" samplesPerSec: %d\n", samplesPerSec); - printf(" avgBytesPerSec: %d\n", avgBytesPerSec); - printf(" blockAlign: %d\n", blockAlign); - printf(" bitsPerSample: %d\n", bitsPerSample); + debug("WAVE information:"); + debug(" total size: %d", wavLength); + debug(" fmt size: %d", fmtLength); + debug(" type: %d", type); + debug(" numChannels: %d", numChannels); + debug(" samplesPerSec: %d", samplesPerSec); + debug(" avgBytesPerSec: %d", avgBytesPerSec); + debug(" blockAlign: %d", blockAlign); + debug(" bitsPerSample: %d", bitsPerSample); #endif if (type != 1 && type != 2 && type != 17) { @@ -152,7 +152,7 @@ bool loadWAVFromStream(Common::SeekableReadStream &stream, int &size, int &rate, offset = stream.readUint32LE(); #if 0 - printf(" found a '%s' tag of size %d\n", buf, offset); + debug(" found a '%s' tag of size %d", buf, offset); #endif } while (memcmp(buf, "data", 4) != 0); |