summaryrefslogtreecommitdiff
path: root/src/modules/jack/module-jack-sink.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-11-05 05:18:10 +0100
committerLennart Poettering <lennart@poettering.net>2009-11-11 05:26:56 +0100
commit409a9d01cd545b5b9c030785d0c68fc3c69dfc9b (patch)
tree0d451e198b32bf2c3856220268bfa7e2bbc0e64d /src/modules/jack/module-jack-sink.c
parent75f3b195c3ff1682aa53449417d696bfe255b292 (diff)
jack: never try to autoconnect to MIDI ports
Original patch supplied by 'adi' http://pulseaudio.org/ticket/669
Diffstat (limited to 'src/modules/jack/module-jack-sink.c')
-rw-r--r--src/modules/jack/module-jack-sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/jack/module-jack-sink.c b/src/modules/jack/module-jack-sink.c
index fc976fa7..9f3e071f 100644
--- a/src/modules/jack/module-jack-sink.c
+++ b/src/modules/jack/module-jack-sink.c
@@ -334,7 +334,7 @@ int pa__init(pa_module*m) {
goto fail;
}
- ports = jack_get_ports(u->client, NULL, NULL, JackPortIsPhysical|JackPortIsInput);
+ ports = jack_get_ports(u->client, NULL, JACK_DEFAULT_AUDIO_TYPE, JackPortIsPhysical|JackPortIsInput);
channels = 0;
for (p = ports; *p; p++)