- virtual nframes_t midi_read (MidiRingBuffer<nframes_t>& dst, nframes_t start, nframes_t cnt,
+ /** Read the data in a given time range from the MIDI source.
+ * All time stamps in parameters are in audio frames (even if the source has tempo time).
+ * \param dst Ring buffer where read events are written
+ * \param position Start position of the SOURCE in this read context
+ * \param start Start of range to be read
+ * \param cnt Length of range to be read (in audio frames)
+ * \param stamp_offset Offset to add to event times written to dst
+ * \param negative_stamp_offset Offset to subtract from event times written to dst
+ */
+ virtual nframes_t midi_read (MidiRingBuffer<nframes_t>& dst,
+ nframes_t position,
+ nframes_t start, nframes_t cnt,