From b27233293306324c6a2ee598dcb5d0248c7e1e16 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 20 Jun 2011 13:58:33 +0000 Subject: change VolumeController::adjust() to do discrete dB increments+decrements git-svn-id: svn://localhost/ardour2/branches/3.0@9750 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/monitor_section.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/monitor_section.cc') diff --git a/gtk2_ardour/monitor_section.cc b/gtk2_ardour/monitor_section.cc index ecd1e5c259..4c40a65504 100644 --- a/gtk2_ardour/monitor_section.cc +++ b/gtk2_ardour/monitor_section.cc @@ -70,7 +70,7 @@ MonitorSection::MonitorSection (Session* s) /* Dim */ - dim_control = new VolumeController (little_knob_pixbuf, boost::shared_ptr(), 0.0, 0.1, 1.0, true, 30, 30, true); + dim_control = new VolumeController (little_knob_pixbuf, boost::shared_ptr(), 0.0, 0.01, 0.1, true, 30, 30, true); HBox* dim_packer = manage (new HBox); dim_packer->show (); @@ -134,7 +134,7 @@ MonitorSection::MonitorSection (Session* s) /* Solo Boost */ - solo_boost_control = new VolumeController (little_knob_pixbuf, boost::shared_ptr(), 0.0, 0.1, 1.0, true, 30, 30, true); + solo_boost_control = new VolumeController (little_knob_pixbuf, boost::shared_ptr(), 0.0, 0.01, 0.1, true, 30, 30, true); HBox* solo_packer = manage (new HBox); solo_packer->set_spacing (12); @@ -151,7 +151,7 @@ MonitorSection::MonitorSection (Session* s) /* Solo (SiP) cut */ - solo_cut_control = new VolumeController (little_knob_pixbuf, boost::shared_ptr(), 0.0, 0.1, 1.0, true, 30, 30, true); + solo_cut_control = new VolumeController (little_knob_pixbuf, boost::shared_ptr(), 0.0, 0.01, 0.1, true, 30, 30, true); spin_label = manage (new Label (_("SiP Cut"))); spin_packer = manage (new VBox); @@ -234,7 +234,7 @@ MonitorSection::MonitorSection (Session* s) /* Gain */ - gain_control = new VolumeController (big_knob_pixbuf, boost::shared_ptr(), 1.0, 0.1, 1.0, true, 80, 80, false); + gain_control = new VolumeController (big_knob_pixbuf, boost::shared_ptr(), 1.0, 0.01, 0.1, true, 80, 80, false); spin_label = manage (new Label (_("Monitor"))); spin_packer = manage (new VBox); -- cgit v1.2.3