JACK: fix reported tempo & meter when functioning as JACK timebase master

TempoMap::metric_at() has a superclock_t variant that was being called
with a samplepos_t value. Full check (and removal, hopefully) coming up.
This commit is contained in:
Paul Davis 2023-06-12 12:09:00 -06:00
parent b6de118fd9
commit 12c3daa46b
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ JACKSession::timebase_callback (jack_transport_state_t /*state*/,
/* BBT info */
TempoMetric metric (tempo_map->metric_at (tf));
TempoMetric metric (tempo_map->metric_at (timepos_t (tf)));
try {
bbt = tempo_map->bbt_at (timepos_t (tf));