diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
commit | 30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch) | |
tree | 620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /libs/ardour/ardour/midi_track.h | |
parent | cb956e3e480716a3efd280a5287bdd7bee1cedc5 (diff) |
globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
Diffstat (limited to 'libs/ardour/ardour/midi_track.h')
-rw-r--r-- | libs/ardour/ardour/midi_track.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libs/ardour/ardour/midi_track.h b/libs/ardour/ardour/midi_track.h index f08af83aaa..54a04d8ed3 100644 --- a/libs/ardour/ardour/midi_track.h +++ b/libs/ardour/ardour/midi_track.h @@ -42,10 +42,10 @@ public: int init (); - int roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, int declick, bool& need_butler); + int roll (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, int declick, bool& need_butler); void realtime_locate (); - void non_realtime_locate (framepos_t); + void non_realtime_locate (samplepos_t); bool can_be_record_enabled (); bool can_be_record_safe (); @@ -55,15 +55,15 @@ public: bool bounceable (boost::shared_ptr<Processor>, bool) const { return false; } boost::shared_ptr<Region> bounce (InterThreadInfo&); - boost::shared_ptr<Region> bounce_range (framepos_t start, - framepos_t end, + boost::shared_ptr<Region> bounce_range (samplepos_t start, + samplepos_t end, InterThreadInfo& iti, boost::shared_ptr<Processor> endpoint, bool include_endpoint); int export_stuff (BufferSet& bufs, - framepos_t start_frame, - framecnt_t end_frame, + samplepos_t start_sample, + samplecnt_t end_sample, boost::shared_ptr<Processor> endpoint, bool include_endpoint, bool for_export, @@ -100,7 +100,7 @@ public: bool step_editing() const { return _step_editing; } void set_step_editing (bool yn); - MidiRingBuffer<framepos_t>& step_edit_ring_buffer() { return _step_edit_ring_buffer; } + MidiRingBuffer<samplepos_t>& step_edit_ring_buffer() { return _step_edit_ring_buffer; } PBD::Signal1<void,bool> StepEditStatusChange; @@ -138,21 +138,21 @@ protected: void monitoring_changed (bool, PBD::Controllable::GroupControlDisposition); private: - MidiRingBuffer<framepos_t> _immediate_events; - MidiRingBuffer<framepos_t> _step_edit_ring_buffer; + MidiRingBuffer<samplepos_t> _immediate_events; + MidiRingBuffer<samplepos_t> _step_edit_ring_buffer; NoteMode _note_mode; bool _step_editing; bool _input_active; MidiChannelFilter _playback_filter; MidiChannelFilter _capture_filter; - void write_out_of_band_data (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, framecnt_t nframes); + void write_out_of_band_data (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sample, samplecnt_t nframes); void set_state_part_two (); void set_state_part_three (); - int no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, bool state_changing); - void push_midi_input_to_step_edit_ringbuffer (framecnt_t nframes); + int no_roll (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, bool state_changing); + void push_midi_input_to_step_edit_ringbuffer (samplecnt_t nframes); void track_input_active (IOChange, void*); void map_input_active (bool); |