summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_clock_slave.cc
diff options
context:
space:
mode:
authorHans Baier <hansfbaier@googlemail.com>2009-01-01 21:26:28 +0000
committerHans Baier <hansfbaier@googlemail.com>2009-01-01 21:26:28 +0000
commit495585db933680db4bd915ff693878e5fd3d80a9 (patch)
treec078e82dc4aa269a062b6f8e34e2ccd25b250724 /libs/ardour/midi_clock_slave.cc
parent5ee4d2bb24c294c5dd3887135f72c53d0936d827 (diff)
*fixed bug in MidiClock_Slave: Use current framerate for speed calculations
git-svn-id: svn://localhost/ardour2/branches/3.0@4371 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_clock_slave.cc')
-rw-r--r--libs/ardour/midi_clock_slave.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/midi_clock_slave.cc b/libs/ardour/midi_clock_slave.cc
index e7cd5a3784..ef900ceded 100644
--- a/libs/ardour/midi_clock_slave.cc
+++ b/libs/ardour/midi_clock_slave.cc
@@ -83,7 +83,7 @@ MIDIClock_Slave::calculate_one_ppqn_in_frames_at(nframes_t time)
const Tempo& current_tempo = session.tempo_map().tempo_at(time);
const Meter& current_meter = session.tempo_map().meter_at(time);
double frames_per_beat =
- current_tempo.frames_per_beat(session.nominal_frame_rate(),
+ current_tempo.frames_per_beat(session.frame_rate(),
current_meter);
double quarter_notes_per_beat = 4.0 / current_tempo.note_type();