From b948f686ccdd1a6cbb6a69403d3bda1206eec6b9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 25 Nov 2005 20:38:03 +0000 Subject: [PATCH] cleanup --- stepmania/src/arch/Sound/DSoundHelpers.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/arch/Sound/DSoundHelpers.cpp b/stepmania/src/arch/Sound/DSoundHelpers.cpp index 372985b99d..4e388119da 100644 --- a/stepmania/src/arch/Sound/DSoundHelpers.cpp +++ b/stepmania/src/arch/Sound/DSoundHelpers.cpp @@ -201,11 +201,11 @@ CString DSoundBuf::Init( DSound &ds, DSoundBuf::hw hardware, waveformat.cbSize = 0; waveformat.wFormatTag = WAVE_FORMAT_PCM; - bool NeedCtrlFrequency = false; + bool bNeedCtrlFrequency = false; if( m_iSampleRate == DYNAMIC_SAMPLERATE ) { m_iSampleRate = 44100; - NeedCtrlFrequency = true; + bNeedCtrlFrequency = true; } int bytes = m_iSampleBits / 8; @@ -234,7 +234,7 @@ CString DSoundBuf::Init( DSound &ds, DSoundBuf::hw hardware, format.dwFlags |= DSBCAPS_LOCSOFTWARE; #endif - if( NeedCtrlFrequency ) + if( bNeedCtrlFrequency ) format.dwFlags |= DSBCAPS_CTRLFREQUENCY; format.dwBufferBytes = m_iBufferSize;