Remove no-longer used file.
[ardour.git] / libs / ardour / ardour / meter.h
index 2a283c0c641af5e84ef1334131489b88282ef396..dad86d518572d0b2937e678eb8437034ad8857e2 100644 (file)
@@ -46,7 +46,6 @@ class Metering {
 class PeakMeter : public Processor {
 public:
        PeakMeter(Session& s) : Processor(s, "Meter") {}
-       PeakMeter(Session&s, const XMLNode& node);
 
        void meter();
        void reset ();
@@ -69,7 +68,10 @@ public:
        void reflect_inputs (const ChanCount& in);
 
        /** Compute peaks */
-       void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes, bool);
+       void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, nframes_t nframes, bool);
+
+       ChanCount input_streams () const { return current_meters; }
+       ChanCount output_streams () const { return current_meters; }
 
        float peak_power (uint32_t n) {
                if (n < _visible_peak_power.size()) {
@@ -92,7 +94,7 @@ public:
 private:
        friend class IO;
        
-       uint32_t current_meters;
+       ChanCount current_meters;
        
        std::vector<float> _peak_power;
        std::vector<float> _visible_peak_power;