remove unused

This commit is contained in:
Glenn Maynard
2006-12-10 05:18:33 +00:00
parent da55d82dec
commit 9a55b8d28a
2 changed files with 0 additions and 22 deletions
-21
View File
@@ -301,27 +301,6 @@ float RageSoundReader_Chain::GetStreamToSourceRatio() const
return iRate;
}
/* Find the next sound we'll need to start, if any. m_aSounds is sorted by time. */
unsigned RageSoundReader_Chain::GetNextSoundIndex() const
{
unsigned iNextSound = 0;
while( iNextSound < m_aSounds.size() )
{
if( m_iCurrentFrame <= m_aSounds[iNextSound].GetOffsetFrame(m_iActualSampleRate) ||
m_aSounds[iNextSound].pSound == NULL )
break;
if( m_aSounds[iNextSound].pSound )
++iNextSound;
}
while( iNextSound < m_aSounds.size() &&
m_iCurrentFrame > m_aSounds[iNextSound].GetOffsetFrame(m_iActualSampleRate) &&
m_aSounds[iNextSound].pSound
)
++iNextSound;
return iNextSound;
}
/* As we iterate through the sound tree, we'll find that we need data from different
* sounds; a sound may be needed by more than one other sound. */
int RageSoundReader_Chain::ReadBlock( int16_t *pBuffer, int iFrames )
-1
View File
@@ -64,7 +64,6 @@ private:
bool operator<( const Sound &rhs ) const { return iOffsetMS < rhs.iOffsetMS; }
};
vector<Sound> m_aSounds;
unsigned GetNextSoundIndex() const;
/* Read state: */
int m_iCurrentFrame;