X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fmidi_diskstream.h;h=01e890473692f444957d1ed92be87f42ba63b95e;hb=7000afdc66c9e0ae8dcf9ec080517dabba1e7f34;hp=e3f2673871fe2d296da808fc95a87853483c732e;hpb=065e1e63342633f72725a5309926f71c87804293;p=ardour.git diff --git a/libs/ardour/ardour/midi_diskstream.h b/libs/ardour/ardour/midi_diskstream.h index e3f2673871..01e8904736 100644 --- a/libs/ardour/ardour/midi_diskstream.h +++ b/libs/ardour/ardour/midi_diskstream.h @@ -118,11 +118,10 @@ class LIBARDOUR_API MidiDiskstream : public Diskstream static void set_readahead_frames (framecnt_t frames_ahead) { midi_readahead = frames_ahead; } - protected: - int seek (framepos_t which_sample, bool complete_refill = false); - protected: friend class MidiTrack; + friend class Auditioner; + int seek (framepos_t which_sample, bool complete_refill = false); int process (BufferSet&, framepos_t transport_frame, pframes_t nframes, framecnt_t &, bool need_diskstream); frameoffset_t calculate_playback_distance (pframes_t nframes);