summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-27 22:47:16 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-27 22:47:16 +0000
commit19ebdba1cbde4eca74af501fe500db05b1ac69d0 (patch)
tree7e9876c3a77bfbc7ab3eab6fbe8354355a6dad56 /gtk2_ardour/rc_option_editor.cc
parentd17918e32e36011cff47405243a320197f72c564 (diff)
restore independent gain control over click/metronome
git-svn-id: svn://localhost/ardour2/branches/3.0@11370 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index 472faf484c..3b08cab69e 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -80,7 +80,7 @@ public:
b = manage (new Button (_("Browse...")));
b->signal_clicked().connect (sigc::mem_fun (*this, &ClickOptions::click_emphasis_browse_clicked));
t->attach (*b, 2, 3, 1, 2, FILL);
-
+
_box->pack_start (*t, false, false);
_click_path_entry.signal_activate().connect (sigc::mem_fun (*this, &ClickOptions::click_changed));
@@ -923,6 +923,14 @@ RCOptionEditor::RCOptionEditor ()
add_option (_("Misc"), new ClickOptions (_rc_config, this));
+ add_option (_("Misc"),
+ new FaderOption (
+ "click-gain",
+ _("Click Gain Level"),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::get_click_gain),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::set_click_gain)
+ ));
+
/* TRANSPORT */
add_option (_("Transport"),