shithub: choc

Download patch

ref: 623b4b1a2fdb0a974b20f45a8a3d0bc14db13691
parent: e339efa45fb54e794d1dd26f7a716a383cc3dc6d
author: Simon Howard <[email protected]>
date: Sun Mar 27 19:42:00 EDT 2011

Change default sfx/music volume in setup tool to 8, to match the game
(thanks Alexandre Xavier).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2309

--- a/NEWS
+++ b/NEWS
@@ -34,6 +34,9 @@
      * Default joystick buttons for the setup tool now match Vanilla
        (thanks twipley).
      * Visual Studio project files work again (thanks GhostlyDeath).
+     * The default sfx/music volume set by the setup tool is now 8
+       instead of 15, matching the game itself. (thanks Alexandre
+       Xavier).
 
     libtextscreen:
      * It is now possible to type a '+' in input boxes (thanks
--- a/setup/sound.c
+++ b/setup/sound.c
@@ -59,10 +59,10 @@
 
 int snd_sfxdevice = SNDDEVICE_SB;
 int numChannels = 8;
-int sfxVolume = 15;
+int sfxVolume = 8;
 
 int snd_musicdevice = SNDDEVICE_GENMIDI;
-int musicVolume = 15;
+int musicVolume = 8;
 
 int snd_samplerate = 22050;
 int opl_io_port = 0x388;