X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fmidi_track.h;h=6bb959a9a555a37a0b5fb79e2f9a14c8c8598edb;hb=a473d630eb165272992e90f8d854b1d66ec0be63;hp=35f1ab58e3434d20f36967e5d6e2ac99acd4f96c;hpb=711db34a81eed3748684bc52b17a56292ffe4092;p=ardour.git diff --git a/libs/ardour/ardour/midi_track.h b/libs/ardour/ardour/midi_track.h index 35f1ab58e3..6bb959a9a5 100644 --- a/libs/ardour/ardour/midi_track.h +++ b/libs/ardour/ardour/midi_track.h @@ -31,7 +31,7 @@ class Session; class MidiDiskstream; class MidiPlaylist; class RouteGroup; -class SMFSource; +class SMFSource; class MidiTrack : public Track { @@ -40,12 +40,13 @@ public: ~MidiTrack (); int roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, - int declick, bool can_record, bool rec_monitors_input, bool& need_butler); + int declick, bool can_record, bool rec_monitors_input, bool& need_butler); void realtime_handle_transport_stopped (); + void realtime_locate (); void use_new_diskstream (); - void set_diskstream (boost::shared_ptr); + void set_diskstream (boost::shared_ptr); void set_record_enabled (bool yn, void *src); DataType data_type () const { @@ -56,7 +57,7 @@ public: void freeze_me (InterThreadInfo&); void unfreeze (); - + boost::shared_ptr bounce (InterThreadInfo&); boost::shared_ptr bounce_range ( framepos_t start, framepos_t end, InterThreadInfo&, bool enable_processing @@ -87,7 +88,7 @@ public: void set_step_editing (bool yn); MidiRingBuffer& step_edit_ring_buffer() { return _step_edit_ring_buffer; } - PBD::Signal1 StepEditStatusChange; + PBD::Signal1 StepEditStatusChange; bool midi_thru() const { return _midi_thru; } void set_midi_thru (bool yn); @@ -101,15 +102,15 @@ public: bool bounceable () const { return false; } - + PBD::Signal2, boost::weak_ptr > DataRecorded; protected: XMLNode& state (bool full); - + int _set_state (const XMLNode&, int, bool call_base); - bool should_monitor () const; - bool send_silence () const; + bool should_monitor () const; + bool send_silence () const; private: boost::shared_ptr midi_diskstream () const;