Added output volume control.

This commit is contained in:
SarahW 2017-12-08 20:39:36 +00:00
commit 640c6a61e2
7 changed files with 1055 additions and 926 deletions

View file

@ -669,6 +669,7 @@ void loadconfig(char *fn)
window_remember = config_get_int(CFG_GLOBAL, NULL, "window_remember", 0);
sound_buf_len = config_get_int(CFG_GLOBAL, NULL, "sound_buf_len", 200);
sound_gain = config_get_int(CFG_GLOBAL, NULL, "sound_gain", 0);
GAMEBLASTER = config_get_int(CFG_MACHINE, NULL, "gameblaster", 0);
GUS = config_get_int(CFG_MACHINE, NULL, "gus", 0);
@ -840,6 +841,7 @@ void saveconfig(char *fn)
config_set_int(CFG_GLOBAL, NULL, "window_remember", window_remember);
config_set_int(CFG_GLOBAL, NULL, "sound_buf_len", sound_buf_len);
config_set_int(CFG_GLOBAL, NULL, "sound_gain", sound_gain);
config_set_int(CFG_MACHINE, NULL, "gameblaster", GAMEBLASTER);
config_set_int(CFG_MACHINE, NULL, "gus", GUS);