13
0

Remove unused parameter to Port::flush_buffers().

git-svn-id: svn://localhost/ardour2/branches/3.0@11906 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-04-11 16:27:05 +00:00
parent 83c765b405
commit 8cc2f19926
7 changed files with 8 additions and 8 deletions

View 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 ();

View 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 ();

View 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 () {}

View 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);
}
}

View 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 ()) {

View 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);
}
}

View 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);
}
}