From: Alex Ivanov <gnidorah@ya.ru>
To: alsa-devel@alsa-project.org
Subject: [PATCH] [-, JACK, plugin, 1/1] jack: use correct port names in 50-jack.conf
Date: Tue, 19 Mar 2019 20:51:44 +0300 [thread overview]
Message-ID: <20190319175144.29420-1-gnidorah@ya.ru> (raw)
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@ya.ru>
---
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
reply other threads:[~2019-03-19 17:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190319175144.29420-1-gnidorah@ya.ru \
--to=gnidorah@ya.ru \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.