From 22b39fd62a9c854b579cf9d0d529bde8f6703b37 Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Tue, 23 Sep 2014 15:17:46 -0700 Subject: [PATCH] Decreased penumbra filter values --- assignment-client/src/audio/AudioMixer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assignment-client/src/audio/AudioMixer.cpp b/assignment-client/src/audio/AudioMixer.cpp index 7f1825084b..a8a7ace06f 100644 --- a/assignment-client/src/audio/AudioMixer.cpp +++ b/assignment-client/src/audio/AudioMixer.cpp @@ -361,13 +361,13 @@ int AudioMixer::addStreamToMixForListeningNodeWithStream(AudioMixerClientData* l const float TWO_OVER_PI = 2.0f / PI; const float ZERO_DB = 1.0f; - //const float NEGATIVE_ONE_DB = 0.891f; + const float NEGATIVE_ONE_DB = 0.891f; const float NEGATIVE_THREE_DB = 0.708f; const float NEGATIVE_SIX_DB = 0.501f; const float FILTER_GAIN_AT_0 = ZERO_DB; // source is in front - const float FILTER_GAIN_AT_90 = NEGATIVE_SIX_DB; // source is incident to left or right ear - const float FILTER_GAIN_AT_180 = NEGATIVE_SIX_DB; // source is behind + const float FILTER_GAIN_AT_90 = NEGATIVE_ONE_DB; // source is incident to left or right ear + const float FILTER_GAIN_AT_180 = NEGATIVE_THREE_DB; // source is behind const float FILTER_CUTOFF_FREQUENCY_HZ = 1000.0f;