- void setup_destructive_playlist ();
- void use_destructive_playlist ();
-
- std::list<Region*> _last_capture_regions;
- std::vector<SMFSource*> _capturing_sources;
+
+ /* fixed size buffers per instance of ardour for now (non-dynamic)
+ */
+
+ void adjust_playback_buffering () {}
+ void adjust_capture_buffering () {}
+
+ bool prep_record_enable ();
+ bool prep_record_disable ();
+
+ MidiRingBuffer<framepos_t>* _playback_buf;
+ MidiRingBuffer<framepos_t>* _capture_buf;
+ boost::weak_ptr<MidiPort> _source_port;
+ boost::shared_ptr<SMFSource> _write_source;
+ NoteMode _note_mode;
+ gint _frames_written_to_ringbuffer;
+ gint _frames_read_from_ringbuffer;
+ volatile gint _frames_pending_write;
+ volatile gint _num_captured_loops;
+
+ /** A buffer that we use to put newly-arrived MIDI data in for
+ the GUI to read (so that it can update itself).
+ */
+ MidiBuffer _gui_feed_buffer;
+ mutable Glib::Threads::Mutex _gui_feed_buffer_mutex;