From 19ebdba1cbde4eca74af501fe500db05b1ac69d0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 27 Jan 2012 22:47:16 +0000 Subject: restore independent gain control over click/metronome git-svn-id: svn://localhost/ardour2/branches/3.0@11370 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/rc_option_editor.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour') 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"), -- cgit v1.2.3