13
0

WebSockets: use v7 tempo-map correctly

This commit is contained in:
Robin Gareus 2021-10-12 15:32:41 +02:00
parent a30148b2a1
commit 2e0a069c51
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -27,7 +27,7 @@ using namespace Temporal;
double
ArdourTransport::tempo () const
{
const Tempo& tempo (TempoMap::use()->metric_at (0).tempo());
const Tempo& tempo (TempoMap::fetch()->metric_at (0).tempo());
return tempo.note_types_per_minute ();
}