obey mixer voluem changes

This commit is contained in:
Glenn Maynard
2003-10-16 18:49:12 +00:00
parent ab86c193cd
commit 36758bf240
2 changed files with 2 additions and 0 deletions
@@ -76,6 +76,7 @@ bool RageSound_DSound_Software::GetData()
memset(buf, 0, bufsize*sizeof(Uint16));
static SoundMixBuffer mix;
mix.SetVolume( SOUNDMAN->GetMixVolume() );
for(unsigned i = 0; i < sounds.size(); ++i)
{
@@ -77,6 +77,7 @@ bool RageSound_WaveOut::GetData()
memset(buf, 0, bufsize*sizeof(Uint16));
memset(buffers[b].lpData, 0, bufsize*sizeof(Uint16));
static SoundMixBuffer mix;
mix.SetVolume( SOUNDMAN->GetMixVolume() );
for(unsigned i = 0; i < sounds.size(); ++i)
{