triggerbox: remove unused member vars from MIDITrigger
This commit is contained in:
parent
282707ee32
commit
031f39d9d1
@ -307,8 +307,6 @@ class LIBARDOUR_API MIDITrigger : public Trigger {
|
||||
RTMidiBuffer data;
|
||||
|
||||
size_t read_index; /* index into data */
|
||||
samplepos_t start_run_sample;
|
||||
samplepos_t end_run_sample;
|
||||
samplecnt_t data_length; /* using timestamps from data */
|
||||
samplecnt_t usable_length; /* using timestamps from data */
|
||||
|
||||
|
@ -979,8 +979,6 @@ AudioTrigger::run (BufferSet& bufs, pframes_t nframes, pframes_t dest_offset, bo
|
||||
MIDITrigger::MIDITrigger (uint64_t n, TriggerBox& b)
|
||||
: Trigger (n, b)
|
||||
, read_index (0)
|
||||
, start_run_sample (0)
|
||||
, end_run_sample (0)
|
||||
, data_length (0)
|
||||
, usable_length (0)
|
||||
, _start_offset (0, 0, 0)
|
||||
@ -1195,7 +1193,6 @@ MIDITrigger::retrigger ()
|
||||
/* XXX need to deal with bar offsets */
|
||||
// const Temporal::BBT_Offset o = _start_offset + _legato_offset;
|
||||
read_index = 0;
|
||||
end_run_sample = transition_samples;
|
||||
_legato_offset = Temporal::BBT_Offset ();
|
||||
DEBUG_TRACE (DEBUG::Triggers, string_compose ("%1 retriggered to %2, ts = %3\n", _index, read_index, transition_samples));
|
||||
}
|
||||
@ -1252,7 +1249,6 @@ MIDITrigger::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sam
|
||||
*/
|
||||
samplepos_t old_ers = end_run_sample;
|
||||
retrigger ();
|
||||
end_run_sample = old_ers;
|
||||
/* and go around again */
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user