RT-safe jack transport time-master

Prefer a try-lock, instead of locking the tempo-map.
This commit is contained in:
Robin Gareus
2020-08-19 19:07:41 +02:00
parent ad8eb4d05b
commit 481cf37052

View File

@@ -128,7 +128,7 @@ JACKSession::timebase_callback (jack_transport_state_t /*state*/,
TempoMetric metric (tempo_map.metric_at (tf));
try {
bbt = tempo_map.bbt_at_sample (tf);
bbt = tempo_map.bbt_at_sample_rt (tf);
pos->bar = bbt.bars;
pos->beat = bbt.beats;