diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-06-12 08:48:42 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-06-12 08:48:42 +0000 |
commit | 86fdef51841937c8f87e1d9149c621814115bc6c (patch) | |
tree | 10bcae6031683af898d5caad14fb0cda75eefdf5 /media-sound/lingot/files/lingot-0.9.0-jack.patch | |
parent | Addition, #338436 (diff) | |
download | gentoo-2-86fdef51841937c8f87e1d9149c621814115bc6c.tar.gz gentoo-2-86fdef51841937c8f87e1d9149c621814115bc6c.tar.bz2 gentoo-2-86fdef51841937c8f87e1d9149c621814115bc6c.zip |
Fix jack support.
(Portage version: 2.2.0_alpha38/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/lingot/files/lingot-0.9.0-jack.patch')
-rw-r--r-- | media-sound/lingot/files/lingot-0.9.0-jack.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/media-sound/lingot/files/lingot-0.9.0-jack.patch b/media-sound/lingot/files/lingot-0.9.0-jack.patch new file mode 100644 index 000000000000..c7885a4098e0 --- /dev/null +++ b/media-sound/lingot/files/lingot-0.9.0-jack.patch @@ -0,0 +1,32 @@ +--- a/src/lingot-audio-jack.c ++++ b/src/lingot-audio-jack.c +@@ -177,7 +177,7 @@ + const char **ports = NULL; + const char* exception; + +- unsigned long int flags = JackPortIsActive | JackPortIsOutput; ++ unsigned long int flags = JackPortIsOutput; + + try { + if (client != NULL) { +@@ -265,8 +265,9 @@ + throw(_("Cannot activate client")); + } + +- ports = jack_get_ports(audio->jack_client, NULL, NULL, JackPortIsActive +- | JackPortIsOutput); ++ ports ++ = jack_get_ports(audio->jack_client, NULL, NULL, ++ JackPortIsOutput); + if (ports == NULL) { + throw(_("No active capture ports")); + } +@@ -321,7 +322,7 @@ + # ifdef JACK + //jack_cycle_wait(audio->jack_client); + const char** ports = jack_get_ports(audio->jack_client, NULL, NULL, +- JackPortIsActive | JackPortIsOutput); ++ JackPortIsOutput); + + if (ports != NULL) { + int i, j = 0; |