Forums
Sound Volume options in SVN - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Sound Volume options in SVN (/showthread.php?tid=116)



Sound Volume options in SVN - thelusiv - 10-12-2005

I just finished adding sound volume and mute options to the menu in VDrift. The sound volume setting works however, it can be set in 10% increments.The mute option totally disables sound just like the -nosound command line switch. Maybe this is a bad way to do it, because currently it doesn't work. I thought this would be best however as it would completely disable the sound system rather than just set the volume to 0%.


Sound Volume options in SVN - joevenzon - 10-12-2005

Disabling the sound system in-game is a *bad idea*. All of the sound functions instantly exit if sound is disabled, including the functions that do things like free the memory of loaded sound files. Just set the volume to 0% -- that's the definition of a mute function. :-)


Sound Volume options in SVN - thelusiv - 10-12-2005

Alright, alright, I'll change it I guess... :mrgreen: Actually I'm just going to remove the mute function for now and make a 0% volume option. Late I'd like to add a mute function that, when turned off, reverts to the previous volume.