From ee4fd96d82545c9f9ebf6d99d893e0b5d77d39cb Mon Sep 17 00:00:00 2001 From: spacy51 Date: Wed, 27 Aug 2008 19:22:11 +0000 Subject: [PATCH] FIXED use blargg's default values for echo & stereo git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@655 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/dmg/gbSound.cpp | 2 +- src/win32/VBA.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dmg/gbSound.cpp b/src/dmg/gbSound.cpp index 2a3d984d..72c85de2 100644 --- a/src/dmg/gbSound.cpp +++ b/src/dmg/gbSound.cpp @@ -92,7 +92,7 @@ static void flush_samples() int const chan_count = 4; -gb_effects_config_t gb_effects_config = { false, 0.0f, 0.0f, false }; +gb_effects_config_t gb_effects_config = { false, 0.2f, 0.15f, false }; static gb_effects_config_t gb_effects_config_current; static int prevSoundEnable = -1; diff --git a/src/win32/VBA.cpp b/src/win32/VBA.cpp index 13e17de7..4e8904a2 100644 --- a/src/win32/VBA.cpp +++ b/src/win32/VBA.cpp @@ -1598,8 +1598,8 @@ void VBA::loadSettings() gb_effects_config.enabled = 1 == regQueryDwordValue( "gbSoundEffectsEnabled", 0 ); gb_effects_config.surround = 1 == regQueryDwordValue( "gbSoundEffectsSurround", 0 ); - gb_effects_config.echo = (float)regQueryDwordValue( "gbSoundEffectsEcho", 0 ) / 100.0f; - gb_effects_config.stereo = (float)regQueryDwordValue( "gbSoundEffectsStereo", 0 ) / 100.0f; + gb_effects_config.echo = (float)regQueryDwordValue( "gbSoundEffectsEcho", 20 ) / 100.0f; + gb_effects_config.stereo = (float)regQueryDwordValue( "gbSoundEffectsStereo", 15 ) / 100.0f; tripleBuffering = regQueryDwordValue("tripleBuffering", false) ? true : false;