diff options
author | David Robillard <d@drobilla.net> | 2009-02-15 01:24:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-15 01:24:26 +0000 |
commit | 5a48f99f72c2e2f3ed313e00446dfdaa05dc5d56 (patch) | |
tree | c67b0c1a4da8dde5146e21b6699d15f389041e68 /libs/ardour/midi_ring_buffer.cc | |
parent | aefa9f0938d287c497878a6e29ce2f9e0bade7c5 (diff) |
Use nframes_t for timestamps of real (jack) time MIDI events (i.e. in MidiBuffer and MidiRingBuffer).
Use iterator interface of Sequence to read events in a MIDISource rather than Sequence::read, avoiding timestamp confusion.
Disable no longer useful Sequence::read.
git-svn-id: svn://localhost/ardour2/branches/3.0@4570 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_ring_buffer.cc')
-rw-r--r-- | libs/ardour/midi_ring_buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/midi_ring_buffer.cc b/libs/ardour/midi_ring_buffer.cc index 1f5177614a..cd21905bad 100644 --- a/libs/ardour/midi_ring_buffer.cc +++ b/libs/ardour/midi_ring_buffer.cc @@ -130,7 +130,7 @@ MidiRingBuffer<T>::read(MidiBuffer& dst, nframes_t start, nframes_t end, nframes return count; } -template class MidiRingBuffer<double>; +template class MidiRingBuffer<nframes_t>; } // namespace ARDOUR |