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. */