aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-20 22:26:16 -0700
committerChris Robinson <[email protected]>2011-07-20 22:26:16 -0700
commit1e8a379a03b80dbfc621855fd819f73487bcc7de (patch)
tree2198063858999a79b476039f852da42916239249 /Alc/ALc.c
parentb889823b2164c652560485dc66dd913b85e0c297 (diff)
Add a config option to boost reverb output
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 8d1792c3..d416e413 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -564,6 +564,9 @@ static void alc_initconfig(void)
if(DefaultResampler >= RESAMPLER_MAX || DefaultResampler <= RESAMPLER_MIN)
DefaultResampler = RESAMPLER_DEFAULT;
+ ReverbBoost *= aluPow(10.0f, GetConfigValueFloat("reverb", "boost", 0.0f) /
+ 20.0f);
+
devs = GetConfigValue(NULL, "drivers", "");
if(devs[0])
{