13
0

*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
This commit is contained in:
Hans Baier 2009-01-01 21:26:28 +00:00
parent 5ee4d2bb24
commit 495585db93

View File

@ -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();