|
|
@@ -479,7 +479,7 @@ int process4(jack_nframes_t nframes, void *arg) |
|
|
|
jack_nframes_t delta_time = cur_time - last_time; |
|
|
|
|
|
|
|
Log("calling process4 callback : jack_frame_time = %ld delta_time = %ld\n", cur_time, delta_time); |
|
|
|
if (delta_time > 0 && (jack_nframes_t)abs(delta_time - cur_buffer_size) > tolerance) { |
|
|
|
if (delta_time > 0 && abs((int64_t)delta_time - (int64_t)cur_buffer_size) > (int64_t)tolerance) { |
|
|
|
printf("!!! ERROR !!! jack_frame_time seems to return incorrect values cur_buffer_size = %d, delta_time = %d tolerance %d\n", cur_buffer_size, delta_time, tolerance); |
|
|
|
} |
|
|
|
|
|
|
|