- bool _buffer_reallocation_required;
- bool _seek_required;
-
- bool force_refill;
- jack_nframes_t capture_start_frame;
- jack_nframes_t capture_captured;
- bool was_recording;
- jack_nframes_t adjust_capture_position;
- jack_nframes_t _capture_offset;
- jack_nframes_t _roll_delay;
- jack_nframes_t first_recordable_frame;
- jack_nframes_t last_recordable_frame;
- int last_possibly_recording;
- AlignStyle _alignment_style;
- bool _scrubbing;
- bool _slaved;
- bool _processed;
- Location* loop_location;
- jack_nframes_t overwrite_frame;
- off_t overwrite_offset;
- bool pending_overwrite;
- bool overwrite_queued;
- IOChange input_change_pending;
- jack_nframes_t wrap_buffer_size;
- jack_nframes_t speed_buffer_size;
-
- uint64_t last_phase;
- uint64_t phi;
-
- jack_nframes_t file_frame;
- jack_nframes_t playback_sample;
- jack_nframes_t playback_distance;
-
- uint32_t _read_data_count;
- uint32_t _write_data_count;
-
- bool in_set_state;
- AlignStyle _persistent_alignment_style;
- bool first_input_change;
-
- Glib::Mutex state_lock;
-
- jack_nframes_t scrub_start;
- jack_nframes_t scrub_buffer_size;
- jack_nframes_t scrub_offset;
-
- sigc::connection ports_created_c;
- sigc::connection plmod_connection;
- sigc::connection plstate_connection;
- sigc::connection plgone_connection;
-
- unsigned char _flags;
+ bool _buffer_reallocation_required;
+ bool _seek_required;
+
+ /** Start of currently running capture in session frames */
+ framepos_t capture_start_frame;
+ framecnt_t capture_captured;
+ bool was_recording;
+ framecnt_t adjust_capture_position;
+ framecnt_t _capture_offset;
+ /** The number of frames by which this diskstream's output should be delayed
+ with respect to the transport frame. This is used for latency compensation.
+ */
+ framecnt_t _roll_delay;
+ framepos_t first_recordable_frame;
+ framepos_t last_recordable_frame;
+ int last_possibly_recording;
+ AlignStyle _alignment_style;
+ AlignChoice _alignment_choice;
+ bool _slaved;
+ Location* loop_location;
+ framepos_t overwrite_frame;
+ off_t overwrite_offset;
+ bool _pending_overwrite;
+ bool overwrite_queued;
+ IOChange input_change_pending;
+ framecnt_t wrap_buffer_size;
+ framecnt_t speed_buffer_size;
+
+ double _speed;
+ double _target_speed;
+
+ /** The next frame position that we should be reading from in our playlist */
+ framepos_t file_frame;
+ framepos_t playback_sample;
+
+ bool in_set_state;
+
+ Glib::Mutex state_lock;
+
+ PBD::ScopedConnectionList playlist_connections;
+
+ PBD::ScopedConnection ic_connection;
+
+ Flag _flags;
+ XMLNode* deprecated_io_node;
+
+ void route_going_away ();