diff --git a/stepmania/src/arch/Sound/RageSoundDriver_ALSA9.cpp b/stepmania/src/arch/Sound/RageSoundDriver_ALSA9.cpp index b2dfdda29c..47cdf999a1 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_ALSA9.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_ALSA9.cpp @@ -4,6 +4,7 @@ #include "RageLog.h" #include "RageSound.h" #include "RageSoundManager.h" +#include "RageSoundUtil.h" #include "RageUtil.h" #include "ALSA9Dynamic.h" @@ -130,7 +131,7 @@ bool RageSound_ALSA9::stream::GetData( bool &bEOF ) bytes_read += got; bytes_left -= got; - RageSoundManager::AttenuateBuf( buf, got/sizeof(int16_t), snd->GetAbsoluteVolume() ); + RageSoundUtil::Attenuate( buf, got/sizeof(int16_t), snd->GetAbsoluteVolume() ); if( bytes_left > 0 ) {