From 2312b3a1c35f3db9c34839af470f140ecd861807 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 16 Apr 2004 22:59:59 +0000 Subject: [PATCH] pack info output more --- .../src/arch/Sound/RageSoundDriver_CA.cpp | 22 +++---------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp b/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp index 40747be3cb..ad184df4ff 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_CA.cpp @@ -109,15 +109,7 @@ RageSound_CA::RageSound_CA() { const Desc& f = physicalFormats[i]; - LOG->Info("Format %u:\n" - "Sample rate: %f\n" - "Format ID: %lu\n" - "Format flags: 0x%lx\n" - "Bytes per packet: %lu\n" - "Frames per packet: %lu\n" - "Bytes per frame: %lu\n" - "Channels per frame: %lu\n" - "Bits per channel: %lu", + 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, f.mBytesPerPacket, f.mFramesPerPacket, f.mBytesPerFrame, f.mChannelsPerFrame, f.mBitsPerChannel); @@ -127,20 +119,12 @@ RageSound_CA::RageSound_CA() vector procFormats; GetIOProcFormats( sID, procFormats ); - LOG->Info("---------------------------\nAvailable I/O procedure formats:"); + LOG->Info("Available I/O procedure formats:"); for (i = 0; i < procFormats.size(); ++i) { const Desc& f = procFormats[i]; - LOG->Info("Format %u:\n" - "Sample rate: %f\n" - "Format ID: %lu\n" - "Format flags: 0x%lx\n" - "Bytes per packet: %lu\n" - "Frames per packet: %lu\n" - "Bytes per frame: %lu\n" - "Channels per frame: %lu\n" - "Bits per channel: %lu", + 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, f.mBytesPerPacket, f.mFramesPerPacket, f.mBytesPerFrame, f.mChannelsPerFrame, f.mBitsPerChannel);