# HG changeset patch # User ibancereijo # Date 1302520492 0 # Node ID 749df50807427830f71c52145b8d7fadf66a9fbf # Parent c1733baa41e807ff0c1b1bc4fbe1ff19d13b9464 Fixed bug #33046 (#622038 in debian) ALT: This patch was a bit update to make it applicatable to tarball sources. diff -r c1733baa41e8 -r 749df5080742 src/lingot-audio-jack.c --- a/src/lingot-audio-jack.c Tue Feb 22 17:39:42 2011 +0000 +++ b/src/lingot-audio-jack.c Mon Apr 11 11:14:52 2011 +0000 @@ -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;