From a9c9d5072c9d206616e599b49a7be8317623271a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 14 Oct 2012 16:17:37 +0000 Subject: MTC Slave: MIDI 30df -> A3 29.97df MIDI only specifies the frame-count, not the rate. in the vast majority of cases MIDI's "Count to 30 use drop-frame" is 29.97df fps. git-svn-id: svn://localhost/ardour2/branches/3.0@13271 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/mtc_slave.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/mtc_slave.cc') diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc index 92f4e4fca2..e08c14890c 100644 --- a/libs/ardour/mtc_slave.cc +++ b/libs/ardour/mtc_slave.cc @@ -311,9 +311,9 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full, framepos_t now) can_notify_on_unknown_rate = true; break; case MTC_30_FPS_DROP: - timecode.rate = 30; + timecode.rate = (30000.0/1001.0); timecode.drop = true; - tc_format = timecode_30drop; + tc_format = timecode_2997drop; can_notify_on_unknown_rate = true; break; case MTC_30_FPS: -- cgit v1.2.3