From 495585db933680db4bd915ff693878e5fd3d80a9 Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Thu, 1 Jan 2009 21:26:28 +0000 Subject: *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 --- libs/ardour/midi_clock_slave.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/midi_clock_slave.cc') 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(); -- cgit v1.2.3