summaryrefslogtreecommitdiff
path: root/audio/jack/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'audio/jack/patches/patch-ah')
-rw-r--r--audio/jack/patches/patch-ah19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/jack/patches/patch-ah b/audio/jack/patches/patch-ah
new file mode 100644
index 00000000000..66a6281d9a7
--- /dev/null
+++ b/audio/jack/patches/patch-ah
@@ -0,0 +1,19 @@
+$NetBSD: patch-ah,v 1.1 2008/07/31 03:58:05 bjs Exp $
+
+Allow overriding the watchdog timeout.
+
+--- jack/engine.h.orig 2008-07-27 08:50:29.000000000 -0400
++++ jack/engine.h
+@@ -51,8 +51,12 @@ typedef struct _jack_port_buffer_list {
+ jack_port_buffer_info_t *info; /* jack_buffer_info_t array */
+ } jack_port_buffer_list_t;
+
++#ifndef JACKD_WATCHDOG_TIMEOUT
+ #define JACKD_WATCHDOG_TIMEOUT 10000
++#endif
++#ifndef JACKD_CLIENT_EVENT_TIMEOUT
+ #define JACKD_CLIENT_EVENT_TIMEOUT 2000
++#endif
+
+ /* The main engine structure in local memory. */
+ struct _jack_engine {