[PATCH] [-, JACK, plugin, 1/1] jack: use correct port names in 50-jack.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Change port names in 50-jack.conf from "alsa_pcm" to "system".

JACK1 v0.125.0 still provides alsa_pcm:playback_* and alsa_pcm:capture_*
port names, but only as aliases:
$ jack_lsp -A
system:capture_1
   alsa_pcm:capture_1
system:capture_2
   alsa_pcm:capture_2
system:playback_1
   alsa_pcm:playback_1
system:playback_2
   alsa_pcm:playback_2

JACK2 v1.9.12 doesn't support alsa_pcm:playback_* and alsa_pcm:capture_*
aliases anymore, so 50-jack.conf will fail for JACK2 users:
$ jack_lsp -A
system:capture_1
   alsa_pcm:hw:0:out1
system:capture_2
   alsa_pcm:hw:0:out2
system:playback_1
   alsa_pcm:hw:0:in1
system:playback_2
   alsa_pcm:hw:0:in2

As you see in both cases system:playback_* and system:capture_* are
correct port names.

Signed-off-by: Alex Ivanov <gnidorah@xxxxx>
---
 jack/50-jack.conf | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/jack/50-jack.conf b/jack/50-jack.conf
index d780dfc..9948f2f 100644
--- a/jack/50-jack.conf
+++ b/jack/50-jack.conf
@@ -1,12 +1,12 @@
 pcm.jack {
 	type jack
 	playback_ports {
-		0 alsa_pcm:playback_1
-		1 alsa_pcm:playback_2
+		0 system:playback_1
+		1 system:playback_2
 	}
 	capture_ports {
-		0 alsa_pcm:capture_1
-		1 alsa_pcm:capture_2
+		0 system:capture_1
+		1 system:capture_2
 	}
 	hint {
 		show {
-- 
2.19.2

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux