Added output volume control.
This commit is contained in:
parent
ae37557c3d
commit
640c6a61e2
7 changed files with 1055 additions and 926 deletions
2
src/pc.c
2
src/pc.c
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue