remove m_fVolume

This commit is contained in:
Glenn Maynard
2007-01-27 07:29:22 +00:00
parent 1bf9de3543
commit 201cc449bd
2 changed files with 0 additions and 5 deletions
@@ -160,7 +160,6 @@ private:
RageSoundBase *m_pSound;
RageTimer m_StartTime;
float m_fVolume;
CircBuf<sound_block> m_Buffer;
bool m_bPaused;
@@ -194,9 +194,6 @@ void RageSoundDriver::DecodeThread()
Sound *pSound = &m_Sounds[i];
/* The volume can change while the sound is playing; update it. */
pSound->m_fVolume = m_Sounds[i].m_pSound->GetAbsoluteVolume();
CHECKPOINT;
while( pSound->m_Buffer.num_writable() )
{
@@ -329,7 +326,6 @@ void RageSoundDriver::StartMixing( RageSoundBase *pSound )
s.m_pSound = pSound;
s.m_StartTime = pSound->GetStartTime();
s.m_fVolume = pSound->GetAbsoluteVolume();
s.m_Buffer.clear();
/* Initialize the sound buffer. */