summaryrefslogtreecommitdiffstats
path: root/src/modules/jack/module-jack-source.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/jack/module-jack-source.c')
-rw-r--r--src/modules/jack/module-jack-source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/jack/module-jack-source.c b/src/modules/jack/module-jack-source.c
index a898e0e5..6c68527b 100644
--- a/src/modules/jack/module-jack-source.c
+++ b/src/modules/jack/module-jack-source.c
@@ -286,7 +286,7 @@ int pa__init(pa_module*m) {
goto fail;
}
- ports = jack_get_ports(u->client, NULL, NULL, JackPortIsPhysical|JackPortIsOutput);
+ ports = jack_get_ports(u->client, NULL, JACK_DEFAULT_AUDIO_TYPE, JackPortIsPhysical|JackPortIsOutput);
channels = 0;
for (p = ports; *p; p++)