From dfded1c1abf76c8799bc643cc5c9f3430b77ff28 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 10 May 2004 00:39:03 +0000 Subject: [PATCH] print 44100, not "44100.000000" --- stepmania/src/arch/Sound/RageSoundDriver_CA.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp b/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp index 6376cb9630..cad698a0ff 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp @@ -111,8 +111,8 @@ RageSound_CA::RageSound_CA() { const Desc& f = physicalFormats[i]; - LOG->Info("Format %u: Rate: %f ID: %lu Flags 0x%lx bpp %lu fpp %lu bpf %lu channels %lu bits %lu", - i, f.mSampleRate, f.mFormatID, f.mFormatFlags, + LOG->Info("Format %u: Rate: %i ID: %lu Flags 0x%lx bpp %lu fpp %lu bpf %lu channels %lu bits %lu", + i, (int) f.mSampleRate, f.mFormatID, f.mFormatFlags, f.mBytesPerPacket, f.mFramesPerPacket, f.mBytesPerFrame, f.mChannelsPerFrame, f.mBitsPerChannel); } @@ -126,8 +126,8 @@ RageSound_CA::RageSound_CA() { const Desc& f = procFormats[i]; - LOG->Info("Format %u: Rate: %f ID: %lu Flags 0x%lx bpp %lu fpp %lu bpf %lu channels %lu bits %lu", - i, f.mSampleRate, f.mFormatID, f.mFormatFlags, + LOG->Info("Format %u: Rate: %i ID: %lu Flags 0x%lx bpp %lu fpp %lu bpf %lu channels %lu bits %lu", + i, (int) f.mSampleRate, f.mFormatID, f.mFormatFlags, f.mBytesPerPacket, f.mFramesPerPacket, f.mBytesPerFrame, f.mChannelsPerFrame, f.mBitsPerChannel); }