debug(1, "Large positive sync error of: %" PRId64 " frames (%f seconds).",
sync_error, (sync_error * 1.0) / config.output_rate);
int64_t local_frames_to_drop = sync_error / conn->output_sample_ratio;
- uint32_t frames_to_drop_sized = local_frames_to_drop;
+ uint32_t frames_to_drop_sized = local_frames_to_drop;
do_flush(inframe->given_timestamp + frames_to_drop_sized, conn);
} else if ((sync_error < 0) && ((-sync_error) > filler_length)) {
debug(1,
if ((clock_status_t)response != conn->clock_status) {
switch (response) {
case clock_ok:
- debug(1, "Connection %d: NQPTP new master clock % " PRIx64 ".", conn->connection_number, actual_clock_id);
+ debug(1, "Connection %d: NQPTP new master clock % " PRIx64 ".", conn->connection_number,
+ actual_clock_id);
break;
case clock_service_unavailable:
debug(1, "Connection %d: NQPTP clock is not available.", conn->connection_number);
}
conn->clock_status = response;
}
-
+
if ((response != clock_ok) && (conn->last_anchor_info_is_valid != 0)) {
if (anchorRTP != NULL)
*anchorRTP = conn->anchor_rtptime;