-
- /* returns the number of items in this `midi_source' */
-
- // Applicable to MIDI? With what unit? [DR]
- virtual jack_nframes_t length() const {
- return _length;
- }
-
- virtual jack_nframes_t read (unsigned char *dst, jack_nframes_t start, jack_nframes_t cnt, char * workbuf) const;
- virtual jack_nframes_t write (unsigned char *src, jack_nframes_t cnt, char * workbuf);
+
+ virtual nframes_t read (MidiRingBuffer& dst, nframes_t start, nframes_t cnt, nframes_t stamp_offset) const;
+ virtual nframes_t write (MidiRingBuffer& src, nframes_t cnt);