backend for auditioning midi-files:
[ardour.git] / libs / ardour / ardour / midi_diskstream.h
index d6ad71863ab15e594a0a74450d6b7e141977fb5f..c2c3f5801f6fcdecaddab892a71bbdea12d20902 100644 (file)
@@ -81,7 +81,7 @@ class MidiDiskstream : public Diskstream
        XMLNode& get_state(void);
        int set_state(const XMLNode&, int version);
 
-       void ensure_jack_monitors_input (bool);
+       void ensure_input_monitoring (bool);
 
        boost::shared_ptr<SMFSource> write_source ()    { return _write_source; }
 
@@ -118,13 +118,13 @@ class 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);
        bool commit  (framecnt_t nframes);
        static framecnt_t midi_readahead;