mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
triggerbox: slight rationalization of member order in AudioTrigger
This commit is contained in:
parent
30123a2106
commit
d4145f0cb1
2 changed files with 15 additions and 8 deletions
|
|
@ -330,14 +330,20 @@ class LIBARDOUR_API AudioTrigger : public Trigger {
|
|||
};
|
||||
|
||||
Data data;
|
||||
samplecnt_t read_index;
|
||||
samplecnt_t process_index;
|
||||
RubberBand::RubberBandStretcher* _stretcher;
|
||||
samplepos_t _start_offset;
|
||||
samplepos_t _legato_offset;
|
||||
|
||||
/* computed after data is reset */
|
||||
|
||||
samplecnt_t usable_length;
|
||||
samplepos_t last_sample;
|
||||
|
||||
/* computed during run */
|
||||
|
||||
samplecnt_t read_index;
|
||||
samplecnt_t process_index;
|
||||
samplepos_t _legato_offset;
|
||||
samplecnt_t retrieved;
|
||||
RubberBand::RubberBandStretcher* _stretcher;
|
||||
samplecnt_t got_stretcher_padding;
|
||||
samplecnt_t to_pad;
|
||||
samplecnt_t to_drop;
|
||||
|
|
|
|||
|
|
@ -556,13 +556,14 @@ Trigger::maybe_compute_next_transition (samplepos_t start_sample, Temporal::Beat
|
|||
|
||||
AudioTrigger::AudioTrigger (uint64_t n, TriggerBox& b)
|
||||
: Trigger (n, b)
|
||||
, read_index (0)
|
||||
, process_index (0)
|
||||
, _stretcher (0)
|
||||
, _start_offset (0)
|
||||
, _legato_offset (0)
|
||||
, usable_length (0)
|
||||
, last_sample (0)
|
||||
, _stretcher (0)
|
||||
, read_index (0)
|
||||
, process_index (0)
|
||||
, _legato_offset (0)
|
||||
, retrieved (0)
|
||||
, got_stretcher_padding (false)
|
||||
, to_pad (0)
|
||||
, to_drop (0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue