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:
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user