parent
fb710da2ef
commit
afcdf0f3b6
@ -0,0 +1,12 @@
|
||||
diff -rupN jack-1.9.10.org/tests/test.cpp jack-1.9.10/tests/test.cpp
|
||||
--- jack-1.9.10.org/tests/test.cpp 2014-07-18 08:28:13.000000000 -0400
|
||||
+++ jack-1.9.10/tests/test.cpp 2017-02-13 20:24:13.691773753 -0500
|
||||
@@ -480,7 +480,7 @@ int process4(jack_nframes_t nframes, voi
|
||||
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 && (jack_nframes_t)abs((int64_t)delta_time - cur_buffer_size) > 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);
|
||||
}
|
||||
|
Loading…
Reference in new issue