]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
fix a VERY stupid sound menu bug: use correct scale of decibels. -20dB is 0.1, not...
authorRudolf Polzer <divverent@xonotic.org>
Sat, 10 Mar 2012 17:22:21 +0000 (18:22 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 10 Mar 2012 17:22:21 +0000 (18:22 +0100)
commit78a1769930e8b3d121cbdef5e52bda2c4ae03de4
treeb7debf7dd75c6bdd6ce879c571f5cbd2652bea7f
parentcaaa6d2081b569d065b45f5b0bf336b5aa6a39bb
fix a VERY stupid sound menu bug: use correct scale of decibels. -20dB is 0.1, not -10dB! This is because the sound level cvars in DP indicate voltage level, not sound pressure (which behaves like power, i.e. voltage * current)
qcsrc/menu/xonotic/dialog_settings_audio.c
qcsrc/menu/xonotic/slider_decibels.c