From 166ef64e3db4ab72b7b1e7455234e2b9ceddf6d8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 2 Feb 2009 02:36:05 +0000 Subject: Make (MIDI) event time stamp type a template parameter. git-svn-id: svn://localhost/ardour2/branches/3.0@4473 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/midi_port.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/midi_port.cc') diff --git a/libs/ardour/midi_port.cc b/libs/ardour/midi_port.cc index c69dc7fc05..ead5f5aeac 100644 --- a/libs/ardour/midi_port.cc +++ b/libs/ardour/midi_port.cc @@ -147,7 +147,7 @@ MidiPort::flush_buffers (nframes_t nframes, nframes_t offset) void* jack_buffer = jack_port_get_buffer (_jack_port, nframes); for (MidiBuffer::iterator i = _buffer->begin(); i != _buffer->end(); ++i) { - const Evoral::Event& ev = *i; + const Evoral::Event& ev = *i; // event times should be frames, relative to cycle start assert(ev.time() >= 0); assert(ev.time() < (nframes+offset)); -- cgit v1.2.3