fixes errors
This commit is contained in:
+5
-2
@@ -152,12 +152,15 @@ class PiPNode : public dmf::NodeBase {
|
|||||||
}
|
}
|
||||||
index++;
|
index++;
|
||||||
|
|
||||||
} else if (st == MXL_ERR_TIMEOUT) {
|
} else if (st == MXL_ERR_TIMEOUT ||
|
||||||
|
st == MXL_ERR_OUT_OF_RANGE_TOO_EARLY ||
|
||||||
|
st == MXL_ERR_OUT_OF_RANGE_TOO_LATE) {
|
||||||
timeout_count++;
|
timeout_count++;
|
||||||
const uint64_t current = mxlGetCurrentIndex(&rate);
|
const uint64_t current = mxlGetCurrentIndex(&rate);
|
||||||
index = (current > index) ? current : index + 1;
|
index = (current > index) ? current : index + 1;
|
||||||
if (timeout_count % 25 == 1)
|
if (timeout_count % 25 == 1)
|
||||||
log("sync timeout frames=%llu timeouts=%llu", frame_count, timeout_count);
|
log("sync stall (%s) frames=%llu count=%llu",
|
||||||
|
dmf::mxl_status_str(st), frame_count, timeout_count);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
log("sync error (%s) at index=%llu", dmf::mxl_status_str(st), index);
|
log("sync error (%s) at index=%llu", dmf::mxl_status_str(st), index);
|
||||||
|
|||||||
Reference in New Issue
Block a user