remove unused
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user