parent
49c7d6d246
commit
96eb38f9c5
|
@ -1,22 +0,0 @@
|
|||
Fix for gcc6 -Wnarrowing error.
|
||||
|
||||
--- tests/iodelay.cpp 2014-07-18 14:28:13.000000000 +0200
|
||||
+++ tests/iodelay.cpp 2016-09-11 18:12:00.563013354 +0200
|
||||
@@ -167,8 +167,8 @@
|
||||
static jack_port_t *jack_capt;
|
||||
static jack_port_t *jack_play;
|
||||
|
||||
-jack_latency_range_t capture_latency = {-1, -1};
|
||||
-jack_latency_range_t playback_latency = {-1, -1};
|
||||
+jack_latency_range_t capture_latency = {(jack_nframes_t)-1, (jack_nframes_t)-1};
|
||||
+jack_latency_range_t playback_latency = {(jack_nframes_t)-1, (jack_nframes_t)-1};
|
||||
|
||||
void
|
||||
latency_cb (jack_latency_callback_mode_t mode, void *arg)
|
||||
@@ -266,4 +266,4 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
-// --------------------------------------------------------------------------------
|
||||
\ Kein Zeilenumbruch am Dateiende.
|
||||
+// --------------------------------------------------------------------------------
|
|
@ -1,11 +0,0 @@
|
|||
--- tests/test.cpp 2014-07-19 15:34:15.000000000 +0200
|
||||
+++ tests/test.cpp 2017-05-10 01:32:47.852989559 +0200
|
||||
@@ -480,7 +480,7 @@
|
||||
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((int)(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);
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'jack'
|
||||
pkgname=jack
|
||||
version=1.9.10
|
||||
version=1.9.12
|
||||
revision=11
|
||||
wrksrc="jack2-${version}"
|
||||
# XXX libffado (firewire)
|
||||
|
@ -12,7 +12,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
license="GPL-2, LGPL-2.1"
|
||||
homepage="http://jackaudio.org/"
|
||||
distfiles="https://github.com/jackaudio/jack2/archive/v${version}.tar.gz"
|
||||
checksum=88f1b6601b7c8950e6a2d5940b423a33ee628ae5583da40bdce3d9317d8c600d
|
||||
checksum=deefe2f936dc32f59ad3cef7e37276c2035ef8a024ca92118f35c9a292272e33
|
||||
|
||||
if [ -z "CROSS_BUILD" ]; then
|
||||
makedepends+=" eigen"
|
||||
|
|
Loading…
Reference in New Issue