From 201cc449bdb5bb20ae13d5fc87ea69c5448cb465 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 27 Jan 2007 07:29:22 +0000 Subject: [PATCH] remove m_fVolume --- stepmania/src/arch/Sound/RageSoundDriver.h | 1 - stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp | 4 ---- 2 files changed, 5 deletions(-) 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. */