From 36758bf24004ed131f90bed24da11eec6b0fd97c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 16 Oct 2003 18:49:12 +0000 Subject: [PATCH] obey mixer voluem changes --- stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp | 1 + stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp b/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp index f314749635..2e63b3f425 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp @@ -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) { diff --git a/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp b/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp index 935243ca2c..d1225e23a7 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp @@ -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) {