/* 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 ();
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 ();
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 () {}
}
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 */
PortSet& ports (_output->ports());
for (PortSet::iterator i = ports.begin(); i != ports.end(); ++i) {
- i->flush_buffers (nframes, time);
+ i->flush_buffers (nframes);
}
}
}
void
-MidiPort::flush_buffers (pframes_t nframes, framepos_t /*time*/)
+MidiPort::flush_buffers (pframes_t nframes)
{
if (sends_output ()) {
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);
}
}
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);
}
}