diff --git a/stepmania/src/arch/Sound/RageSoundDriver.h b/stepmania/src/arch/Sound/RageSoundDriver.h index 3278432d98..b560287316 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver.h +++ b/stepmania/src/arch/Sound/RageSoundDriver.h @@ -160,7 +160,6 @@ private: RageSoundBase *m_pSound; RageTimer m_StartTime; - float m_fVolume; CircBuf m_Buffer; bool m_bPaused; diff --git a/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp b/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp index 5b30d3bb27..3b9db11cb6 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp @@ -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. */