1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/audio/jack/files/patch-jackd_engine.c
Thomas Zander 7fa927df12 Fix support for 24-bit and 32-bit resolution
While on it:
- Pet portlint

PR:		199558
Submitted by:	hselasky@FreeBSD.org
2015-06-14 15:05:09 +00:00

21 lines
693 B
C

--- jackd/engine.c.orig 2013-11-30 17:04:00 UTC
+++ jackd/engine.c
@@ -1415,7 +1415,7 @@ handle_external_client_request (jack_eng
if ((r = read (client->request_fd, &req, sizeof (req)))
< (ssize_t) sizeof (req)) {
if (r == 0) {
-#ifdef JACK_USE_MACH_THREADS
+#ifndef __linux
/* poll is implemented using
select (see the macosx/fakepoll
code). When the socket is closed
@@ -1428,7 +1428,7 @@ handle_external_client_request (jack_eng
and remove the client.
*/
jack_mark_client_socket_error (engine, fd);
-#endif /* JACK_USE_MACH_THREADS */
+#endif /* !__linux */
return 1;
} else {
jack_error ("cannot read request from client (%d/%d/%s)",