editor toggle button fix from lincoln; refresh location display when loop range chang...
[ardour.git] / libs / ardour / meter.cc
index ed50479c743de4aadb753a981e591ece8b1c6860..50bd2907542d4e1033bcd56b45ba4efb827f6a8e 100644 (file)
@@ -71,7 +71,7 @@ Metering::update_meters()
  * be set to 0.
  */
 void
-PeakMeter::run_in_place (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes)
+PeakMeter::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes)
 {
        const uint32_t n_audio = min(_configured_input.n_audio(), bufs.count().n_audio());
        const uint32_t n_midi  = min(_configured_input.n_midi(), bufs.count().n_midi());
@@ -109,6 +109,11 @@ PeakMeter::run_in_place (BufferSet& bufs, sframes_t start_frame, sframes_t end_f
        }
 }
 
+PeakMeter::PeakMeter (Session& s, const XMLNode& node)
+       : Processor (s, node)
+{
+}
+
 void
 PeakMeter::reset ()
 {