From 4dd1f97875aaa68c8379f6964b304824721a49b4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 22 Dec 2006 21:56:02 +0000 Subject: [PATCH] remove unused --- stepmania/src/RageSound.cpp | 2 -- stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index 14983e7d6a..331af2c581 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -315,8 +315,6 @@ int RageSound::GetData( char *pBuffer, int iFrames ) */ int RageSound::GetDataToPlay( int16_t *pBuffer, int iFrames, int64_t &iStreamFrame, int &iFramesStored ) { - int iNumRewindsThisCall = 0; - /* We only update m_iStreamFrame; only take a shared lock, so we don't block the main thread. */ // LockMut(m_Mutex); diff --git a/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp b/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp index eb20b1090d..47a98c6234 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp @@ -197,7 +197,6 @@ void RageSound_Generic_Software::DecodeThread() pSound->m_fVolume = m_Sounds[i].m_pSound->GetAbsoluteVolume(); CHECKPOINT; - int iFramesFilled = 0; while( pSound->m_Buffer.num_writable() ) { int iWrote = GetDataForSound( *pSound ); @@ -210,8 +209,6 @@ void RageSound_Generic_Software::DecodeThread() break; // LOG->Trace("mixer: (#%i) eof (%p)", i, pSound->m_pSound ); } - - iFramesFilled += iWrote; } } // LOG->Trace("end mix");