more complete fix for MTC time signal not providing FPS/drop values

git-svn-id: svn://localhost/ardour2/trunk@1500 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-02-23 16:10:33 +00:00
parent 7fa2576477
commit 957d2e39c4
3 changed files with 4 additions and 3 deletions

View file

@ -382,7 +382,7 @@ AudioPlaylist::check_dependents (boost::shared_ptr<Region> r, bool norefresh)
OverlapType c = top->coverage (bottom->position(), bottom->last_frame());
try {
switch (c) {
case OverlapNone:

View file

@ -162,8 +162,8 @@ class Parser : public sigc::trackable {
bool _mmc_forward;
bool _mtc_forward;
int expected_mtc_quarter_frame_code;
byte _mtc_time[4];
byte _qtr_mtc_time[4];
byte _mtc_time[5];
byte _qtr_mtc_time[5];
unsigned long consecutive_qtr_frame_cnt;
MTC_FPS _mtc_fps;
MTC_Status _mtc_running;

View file

@ -264,6 +264,7 @@ Parser::process_mtc_quarter_frame (byte *msg)
_qtr_mtc_time[3] |= ((msg[1] & 0x1) << 4);
_mtc_fps = MTC_FPS ((msg[1] & 0x6) >> 1);
_qtr_mtc_time[4] = _mtc_fps;
break;
default: