triggerbox: initialize follow-count more reliably. this way queues a UIState

This commit is contained in:
Ben Loftis 2022-02-12 11:13:30 -06:00
parent ad7db33666
commit 8a3b5751fb

View File

@ -1498,7 +1498,7 @@ AudioTrigger::estimate_tempo ()
}
/* initialize our follow_length to match the beatcnt ... user can later change this value to have the clip end sooner or later than its data length */
_follow_length = (Temporal::BBT_Offset( 0, rint(_beatcnt), 0)); //OK ?
set_follow_length(Temporal::BBT_Offset( 0, rint(beatcount), 0));
/* use initial tempo in map (assumed for now to be the only one */