From 970c8939d4db7683ad294f9fb7ae0db39fc696fd Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 8 Oct 2018 12:59:51 -0400 Subject: some rather simple code to allow MIDI Clock to set the tempo of the session. This is only allowed if the session has only 1 tempo marker --- libs/ardour/ardour/session.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/ardour/session.h') diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 455a1d6337..e63c68f604 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -734,6 +734,7 @@ public: TempoMap& tempo_map() { return *_tempo_map; } const TempoMap& tempo_map() const { return *_tempo_map; } + void maybe_update_tempo_from_midiclock_tempo (float bpm); unsigned int get_xrun_count () const {return _xrun_count; } void reset_xrun_count () {_xrun_count = 0; } -- cgit v1.2.3