From c5da1dd7e1af73d1803f7aacf0fdacfabda5c138 Mon Sep 17 00:00:00 2001 From: Peter Courtemanche Date: Thu, 16 Jan 2014 17:01:12 -0800 Subject: [PATCH] Adjusted a few more constants - reverb and max active sources. --HG-- branch : nfb --- KREngine/kraken/KRAudioManager.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/KREngine/kraken/KRAudioManager.h b/KREngine/kraken/KRAudioManager.h index c19697c..e829380 100644 --- a/KREngine/kraken/KRAudioManager.h +++ b/KREngine/kraken/KRAudioManager.h @@ -68,11 +68,11 @@ const int KRENGINE_REVERB_WORKSPACE_SIZE = 1 << KRENGINE_REVERB_MAX_FFT_LOG2; const float KRENGINE_AUDIO_CUTOFF = 0.02f; // Cutoff gain level, to cull out processing of very quiet sounds -const int KRENGINE_REVERB_MAX_SAMPLES = 435200; // At least 10s reverb impulse response length, divisible by KRENGINE_AUDIO_BLOCK_LENGTH -const int KRENGINE_MAX_REVERB_IMPULSE_MIX = 16; // Maximum number of impulse response filters that can be mixed simultaneously +const int KRENGINE_REVERB_MAX_SAMPLES = 128000; // 2.9 seconds //435200; // At least 10s reverb impulse response length, divisible by KRENGINE_AUDIO_BLOCK_LENGTH +const int KRENGINE_MAX_REVERB_IMPULSE_MIX = 8; // Maximum number of impulse response filters that can be mixed simultaneously const int KRENGINE_MAX_OUTPUT_CHANNELS = 2; -const int KRENGINE_MAX_ACTIVE_SOURCES = 24; +const int KRENGINE_MAX_ACTIVE_SOURCES = 16; const int KRENGINE_AUDIO_ANTICLICK_SAMPLES = 64;