Remove unused parameter to Port::flush_buffers().
authorCarl Hetherington <carl@carlh.net>
Wed, 11 Apr 2012 16:27:05 +0000 (16:27 +0000)
committerCarl Hetherington <carl@carlh.net>
Wed, 11 Apr 2012 16:27:05 +0000 (16:27 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11906 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/delivery.h
libs/ardour/ardour/midi_port.h
libs/ardour/ardour/port.h
libs/ardour/delivery.cc
libs/ardour/midi_port.cc
libs/ardour/midi_track.cc
libs/ardour/track.cc

index cb2f37d1f085c536b7c2644ce0c4213755231404..4ee171c0338072b512832f1a7f3d7fd1481ae2f1 100644 (file)
@@ -74,7 +74,7 @@ public:
 
        /* supplemental method used with MIDI */
 
-       void flush_buffers (framecnt_t nframes, framepos_t time);
+       void flush_buffers (framecnt_t nframes);
        void no_outs_cuz_we_no_monitor(bool);
        void transport_stopped (framepos_t frame);
        void realtime_locate ();
index a4d2f538067385ad721b52dd068069ce1f10b906..84575ca351828b65d2470d81aabdcbc3cc2608ab 100644 (file)
@@ -41,7 +41,7 @@ class MidiPort : public Port {
        void cycle_end (pframes_t nframes);
        void cycle_split ();
 
-       void flush_buffers (pframes_t nframes, framepos_t time);
+       void flush_buffers (pframes_t nframes);
        void transport_stopped ();
        void realtime_locate ();
        void reset ();
index 7aa4e8a0d538be1595449b92e53cd08480391b7a..37101950d5158dbcd0963d2983a6673fd01efe6b 100644 (file)
@@ -116,7 +116,7 @@ public:
        virtual void cycle_end (pframes_t) = 0;
        virtual void cycle_split () = 0;
        virtual Buffer& get_buffer (pframes_t nframes) = 0;
-       virtual void flush_buffers (pframes_t /*nframes*/, framepos_t /*time*/) {}
+       virtual void flush_buffers (pframes_t /*nframes*/) {}
        virtual void transport_stopped () {}
        virtual void realtime_locate () {}
 
index 3b95c5ee3d521918e22e2cd424202ab19a071316..2fc8d82e47f3f40407950cb0dfe211e2fb3a6d48 100644 (file)
@@ -446,7 +446,7 @@ Delivery::reset_panners ()
 }
 
 void
-Delivery::flush_buffers (framecnt_t nframes, framepos_t time)
+Delivery::flush_buffers (framecnt_t nframes)
 {
        /* io_lock, not taken: function must be called from Session::process() calltree */
 
@@ -457,7 +457,7 @@ Delivery::flush_buffers (framecnt_t nframes, framepos_t time)
        PortSet& ports (_output->ports());
 
        for (PortSet::iterator i = ports.begin(); i != ports.end(); ++i) {
-               i->flush_buffers (nframes, time);
+               i->flush_buffers (nframes);
        }
 }
 
index 0f91dd3e362d5543e047b88901f00c9ff282767a..6d09ddb52c142ff8fdd515246150ff546b30bc49 100644 (file)
@@ -151,7 +151,7 @@ MidiPort::resolve_notes (void* jack_buffer, MidiBuffer::TimeType when)
 }
 
 void
-MidiPort::flush_buffers (pframes_t nframes, framepos_t /*time*/)
+MidiPort::flush_buffers (pframes_t nframes)
 {
        if (sends_output ()) {
 
index 6000f64c355ebb4b4cc45463d14e688dc4ad8372..15db5ddb97fa0c15e73ae86d31cb254e3e19e369 100644 (file)
@@ -369,7 +369,7 @@ MidiTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame
        for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) {
                boost::shared_ptr<Delivery> d = boost::dynamic_pointer_cast<Delivery> (*i);
                if (d) {
-                       d->flush_buffers (nframes, end_frame - start_frame - 1);
+                       d->flush_buffers (nframes);
                }
        }
 
index 5b6cb63091ed779e7f7a8428a1d2bce401bcd60e..2ef3c85b4a7c4679462c950419e3040e3d44fcfd 100644 (file)
@@ -406,7 +406,7 @@ Track::no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame,
        for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) {
                boost::shared_ptr<Delivery> d = boost::dynamic_pointer_cast<Delivery> (*i);
                if (d) {
-                       d->flush_buffers (nframes, end_frame - start_frame - 1);
+                       d->flush_buffers (nframes);
                }
        }