fix error
This commit is contained in:
@@ -331,7 +331,7 @@ void RageSoundManager::PlayOnce( CString sPath )
|
|||||||
|
|
||||||
void RageSoundManager::SetMixVolume( float fMixVol )
|
void RageSoundManager::SetMixVolume( float fMixVol )
|
||||||
{
|
{
|
||||||
ASSERT_M( fMixVol >= 0 && fVolume <= 1, ssprintf("%f",fMixVol) );
|
ASSERT_M( fMixVol >= 0 && fMixVol <= 1, ssprintf("%f",fMixVol) );
|
||||||
|
|
||||||
g_SoundManMutex.Lock(); /* lock for access to m_fMixVolume */
|
g_SoundManMutex.Lock(); /* lock for access to m_fMixVolume */
|
||||||
m_fMixVolume = fMixVol;
|
m_fMixVolume = fMixVol;
|
||||||
|
|||||||
Reference in New Issue
Block a user