summaryrefslogtreecommitdiff
blob: c7885a4098e08f3deb2053059123661d6c43c8d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;