mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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:
parent
b6de118fd9
commit
12c3daa46b
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue