diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2009-01-01 21:26:28 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2009-01-01 21:26:28 +0000 |
commit | 495585db933680db4bd915ff693878e5fd3d80a9 (patch) | |
tree | c078e82dc4aa269a062b6f8e34e2ccd25b250724 /libs/ardour/midi_clock_slave.cc | |
parent | 5ee4d2bb24c294c5dd3887135f72c53d0936d827 (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.cc | 2 |
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(); |