13
0

triggerbox: audio triggers get a deletion queue (WIP)

This commit is contained in:
Paul Davis 2021-12-18 17:38:37 -07:00
parent 4f8be5a6c3
commit 9c6c05dfac
2 changed files with 3 additions and 0 deletions

View File

@ -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 ();

View File

@ -567,6 +567,7 @@ AudioTrigger::AudioTrigger (uint64_t n, TriggerBox& b)
, got_stretcher_padding (false)
, to_pad (0)
, to_drop (0)
, _deletion_queue (4)
{
}