triggerbox: audio triggers get a deletion queue (WIP)
This commit is contained in:
parent
4f8be5a6c3
commit
9c6c05dfac
@ -348,6 +348,8 @@ class LIBARDOUR_API AudioTrigger : public Trigger {
|
||||
samplecnt_t to_pad;
|
||||
samplecnt_t to_drop;
|
||||
|
||||
PBD::RingBuffer<Data*> _deletion_queue;
|
||||
|
||||
void drop_data ();
|
||||
int load_data (boost::shared_ptr<AudioRegion>);
|
||||
void determine_tempo ();
|
||||
|
@ -567,6 +567,7 @@ AudioTrigger::AudioTrigger (uint64_t n, TriggerBox& b)
|
||||
, got_stretcher_padding (false)
|
||||
, to_pad (0)
|
||||
, to_drop (0)
|
||||
, _deletion_queue (4)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user