diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2018-10-08 12:59:51 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2018-10-08 12:59:51 -0400 |
commit | 970c8939d4db7683ad294f9fb7ae0db39fc696fd (patch) | |
tree | 0dc0c3bd7385e8e19618e388678a66e56f3cf2d0 /libs/ardour/ardour/session.h | |
parent | 8b1c8bb51137c13fb052b685b02b6e8130d6a668 (diff) |
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
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |