Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6371/src
Modified Files:
sound.c
Log Message:
Cut starting sound and music volume from max volume to half volume. Was too loud.
Index: sound.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/sound.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- sound.c 17 Feb 2007 01:58:50 -0000 1.24
+++ sound.c 21 Feb 2007 17:27:01 -0000 1.25
@@ -217,6 +217,10 @@
if (Mix_OpenAudio(22050, AUDIO_S16SYS, 2, 1024) < 0)
LineToConsole("Mix_OpenAudio: %s\n", Mix_GetError());
+ /* Set sound and music volume to half (128 is MAXVOLUME) */
+ Mix_Volume(-1, 64);
+ Mix_VolumeMusic(64);
+
/* Toggle on sound, and load sound files */
sound_toggle = 1;
loadSounds();