remove m_fVolume
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user