Add a volume-adjust config option to adjust the source output volume
commitf5e4a3ed85993f479c6cc1a967d5252378eb5211
authorChris Robinson <chris.kcat@gmail.com>
Sun, 25 Sep 2016 01:46:41 +0000 (24 18:46 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sun, 25 Sep 2016 01:46:41 +0000 (24 18:46 -0700)
treeac45d22c3f4ea5e4df0ffef5720b09ee840c1ac4
parent24f9a0f2aed5b0770af1633ab4a2e2832462294e
Add a volume-adjust config option to adjust the source output volume

Designed for apps that either don't change the listener's AL_GAIN, or don't
allow the listener's AL_GAIN to go above 1. This allows the volume to still be
increased further than such apps may allow, if users find it too quiet.

Be aware that increasing this can easily cause clipping. The gain limit
reported by AL_GAIN_LIMIT_SOFT is also affected by this.
Alc/ALc.c
Alc/ALu.c
OpenAL32/Include/alMain.h
OpenAL32/alState.c
alsoftrc.sample