# HG changeset patch # User William Pitcock # Date 1190128340 18000 # Node ID 6b8c8e051c1bd68683f1fdc7243ee0cdb82ad9d6 # Parent 19cbbbf1b73886c589d019b05ac9354f039fb26a Add new configuration option: Software Volume Control. diff -r 19cbbbf1b738 -r 6b8c8e051c1b src/audacious/main.c --- a/src/audacious/main.c Mon Sep 17 22:43:19 2007 -0700 +++ b/src/audacious/main.c Tue Sep 18 10:12:20 2007 -0500 @@ -224,7 +224,8 @@ FALSE, /* internal: whether or not to terminate */ TRUE, /* whether show progress bar in filepopup or not */ TRUE, /* close jtf dialog on jump */ - TRUE, /* use back and forth scroll */ + TRUE, /* use back and forth scroll */ + FALSE, /* use software volume control */ }; typedef struct bmp_cfg_boolent_t { @@ -332,6 +333,7 @@ {"filepopup_showprogressbar", &cfg.filepopup_showprogressbar, TRUE}, {"close_jtf_dialog", &cfg.close_jtf_dialog, TRUE}, {"twoway_scroll", &cfg.twoway_scroll, TRUE}, + {"software_volume_control", &cfg.software_volume_control, TRUE}, }; static gint ncfgbent = G_N_ELEMENTS(bmp_boolents); diff -r 19cbbbf1b738 -r 6b8c8e051c1b src/audacious/main.h --- a/src/audacious/main.h Mon Sep 17 22:43:19 2007 -0700 +++ b/src/audacious/main.h Tue Sep 18 10:12:20 2007 -0500 @@ -131,6 +131,7 @@ gboolean filepopup_showprogressbar; gboolean close_jtf_dialog; gboolean twoway_scroll; + gboolean software_volume_control; }; typedef struct _BmpConfig BmpConfig;