![]() |
Sound volume doesn't change until exit - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7) +--- Thread: Sound volume doesn't change until exit (/showthread.php?tid=879) |
Sound volume doesn't change until exit - thelusiv - 01-26-2008 VDrift wasn't picking up changes in the Sound Volume setting when I adjusted it in-game. I looked at the code and found that the SOUND class had an empty UpdateSettings function. I guess it never got implemented for the new sound class. This is the function that the Gui class calls when the OK button is selected in the Sound Settings or In Game Sound Settings menus. I implemented the function to fix this bug. I checked it into SVN r1923. Let me know if it causes any problems. Joe, should this function also update the music volume? I can't see anywhere this is set. - joevenzon - 01-26-2008 The sound class doesn't have any concept of music yet. It's fine to just leave it out for now. |