From 9ed3cde95a2c8bee68d84109974a047db41db7ed Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 25 Nov 2005 18:36:44 +0000 Subject: [PATCH] cleanup --- stepmania/src/arch/Sound/DSoundHelpers.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/stepmania/src/arch/Sound/DSoundHelpers.cpp b/stepmania/src/arch/Sound/DSoundHelpers.cpp index 4195d54783..372985b99d 100644 --- a/stepmania/src/arch/Sound/DSoundHelpers.cpp +++ b/stepmania/src/arch/Sound/DSoundHelpers.cpp @@ -49,7 +49,6 @@ void DSound::SetPrimaryBufferMode() IDirectSoundBuffer *pBuffer; HRESULT hr = this->GetDS()->CreateSoundBuffer( &format, &pBuffer, NULL ); - /* hr */ if( FAILED(hr) ) { LOG->Warn(hr_ssprintf(hr, "Couldn't create primary buffer")); @@ -351,13 +350,6 @@ DSoundBuf::~DSoundBuf() delete [] m_pTempBuffer; } -void round_up( int &i, int to ) -{ - i += (to-1); - i /= to; - i *= to; -} - /* Check to make sure that, given the current writeahead and chunksize, we're * capable of filling the prefetch region entirely. If we aren't, increase * the writeahead. If this happens, we're underruning. */