diff options
author | Chris Robinson <[email protected]> | 2011-07-20 22:26:16 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-20 22:26:16 -0700 |
commit | 1e8a379a03b80dbfc621855fd819f73487bcc7de (patch) | |
tree | 2198063858999a79b476039f852da42916239249 /Alc/ALc.c | |
parent | b889823b2164c652560485dc66dd913b85e0c297 (diff) |
Add a config option to boost reverb output
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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]) { |