initial check in of VBAP implementation (not coupled to any existing ardour objects...
[ardour.git] / libs / ardour / monitor_processor.cc
index 6faf46a64de858f069d0a069c6092bb4a3c65f62..a164f025e81b3e9dacfed77856c629d33cb34158 100644 (file)
@@ -18,7 +18,7 @@ using namespace std;
 /* specialize for bool because of set_value() semantics */
 
 namespace ARDOUR {
-        template<> void MPControl<bool>::set_value (float v) {
+        template<> void MPControl<bool>::set_value (double v) {
                 bool newval = fabs (v) >= 0.5;
                 if (newval != _value) {
                         _value = newval;
@@ -245,7 +245,7 @@ MonitorProcessor::state (bool full)
 }
 
 void
-MonitorProcessor::run (BufferSet& bufs, sframes_t /*start_frame*/, sframes_t /*end_frame*/, nframes_t nframes, bool /*result_required*/)
+MonitorProcessor::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_frame*/, nframes_t nframes, bool /*result_required*/)
 {
         uint32_t chn = 0;
         gain_t target_gain;
@@ -275,22 +275,6 @@ MonitorProcessor::run (BufferSet& bufs, sframes_t /*start_frame*/, sframes_t /*e
                                 target_gain = 0.0;
                         }
                 }
-
-                DEBUG_TRACE (DEBUG::Monitor, 
-                             string_compose("channel %1 SB %12 sb %2 gc %3 gd %4 cd %5 dl %6 cp %7 cc %8 cs %9 sc %10 TG %11\n", 
-                                            chn, 
-                                            solo_boost,
-                                            global_cut,
-                                            global_dim,
-                                            _channels[chn]->dim,
-                                            dim_level,
-                                            _channels[chn]->polarity,
-                                            _channels[chn]->cut,
-                                            _channels[chn]->soloed,
-                                            solo_cnt,
-                                            target_gain, 
-                                            (float) _solo_boost_level.val()
-                                     ));
                 
                 if (target_gain != _channels[chn]->current_gain || target_gain != 1.0f) {