RageSoundUtil::Attenuate

This commit is contained in:
Glenn Maynard
2005-12-30 19:04:18 +00:00
parent 08dd174e5c
commit 2084896f7d
@@ -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 )
{