summaryrefslogtreecommitdiff
path: root/audio/jack/patches/patch-ah
blob: 943ce6aa1e5830cc653e0d7106106d0764d9ba39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ah,v 1.2 2008/11/16 11:22:55 bjs Exp $

Allow overriding the watchdog timeout.

--- jack/engine.h.orig	2008-11-11 17:36:38.000000000 -0500
+++ 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 {