Small cleanup.
authorCarl Hetherington <carl@carlh.net>
Tue, 8 Jun 2010 01:21:24 +0000 (01:21 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 8 Jun 2010 01:21:24 +0000 (01:21 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7242 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/midi_ring_buffer.cc

index 60c0a18a9b251aa6a8246a7b5f84ec1ec78d1119..e8ae9bb5d31358af06305f23851458cf845c90ee 100644 (file)
@@ -104,7 +104,7 @@ MidiRingBuffer<T>::read(MidiBuffer& dst, nframes_t start, nframes_t end, nframes
                }
 
                // write MIDI buffer contents
-               success = Evoral::EventRingBuffer<T>::full_read(ev_size, write_loc);
+               success = read_contents (ev_size, write_loc);
 
 #ifndef NDEBUG
                DEBUG_TRACE (DEBUG::MidiDiskstreamIO, "wrote MidiEvent to Buffer: ");