libportaudio/libportaudio-19-jack_default.patch

26 lines
701 B
Diff

diff -Nru portaudio.orig/src/os/unix/pa_unix_hostapis.c portaudio/src/os/unix/pa_unix_hostapis.c
--- portaudio.orig/src/os/unix/pa_unix_hostapis.c 2006-08-26 10:27:53.000000000 +0200
+++ portaudio/src/os/unix/pa_unix_hostapis.c 2008-04-08 01:23:20.000000000 +0200
@@ -53,6 +53,10 @@
PaUtilHostApiInitializer *paHostApiInitializers[] =
{
+#ifdef PA_USE_JACK
+ PaJack_Initialize,
+#endif
+
#ifdef PA_USE_OSS
PaOSS_Initialize,
#endif
@@ -60,10 +64,6 @@
#ifdef PA_USE_ALSA
PaAlsa_Initialize,
#endif
-
-#ifdef PA_USE_JACK
- PaJack_Initialize,
-#endif
/* Added for IRIX, Pieter, oct 2, 2003: */
#ifdef PA_USE_SGI
PaSGI_Initialize,