From: tom.ty89@gmail.com
To: patch@alsa-project.org
Cc: alsa-devel@alsa-project.org, Tom Yan <tom.ty89@gmail.com>
Subject: [PATCH - alsa-lib 1/1] add surround21 for Echo3G devices
Date: Sun, 17 Jan 2016 03:05:25 +0800 [thread overview]
Message-ID: <569a947e.870d620a.17535.2cf0@mx.google.com> (raw)
From: Tom Yan <tom.ty89@gmail.com>
It's the only card conf that make use of surround41.conf and surround50.conf but not surround21.conf; Adding it for consistency, since all three of them are derived from surround51.
Signed-off-by: Tom Yan <tom.ty89@gmail.com>
diff --git a/src/conf/cards/Echo_Echo3G.conf b/src/conf/cards/Echo_Echo3G.conf
index 766f13f..93d9ce4 100644
--- a/src/conf/cards/Echo_Echo3G.conf
+++ b/src/conf/cards/Echo_Echo3G.conf
@@ -50,6 +50,40 @@ Echo_Echo3G.pcm.side.0 {
subdevice 6
}
+<confdir:pcm/surround21.conf>
+Echo_Echo3G.pcm.surround21.0 {
+ @args [ CARD ]
+ @args.CARD {
+ type string
+ }
+ type multi
+ slaves [
+ {
+ pcm {
+ @func concat
+ strings [
+ "cards.Echo_Echo3G.pcm.front.0:CARD=" $CARD
+ ]
+ }
+ channels 2
+ }
+ {
+ pcm {
+ @func concat
+ strings [
+ "cards.Echo_Echo3G.pcm.center_lfe.0:CARD=" $CARD
+ ]
+ }
+ channels 2
+ }
+ ]
+ bindings [
+ { slave 0 channel 0 }
+ { slave 0 channel 1 }
+ { slave 1 channel 0 }
+ ]
+}
+
<confdir:pcm/surround40.conf>
Echo_Echo3G.pcm.surround40.0 {
@args [ CARD ]
--
2.7.0
next reply other threads:[~2016-01-16 19:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-16 19:05 tom.ty89 [this message]
2016-01-16 19:17 ` [PATCH - alsa-lib 1/1] add surround21 for Echo3G devices Tom Yan
2016-01-17 13:49 ` Tom Yan
2016-01-17 16:12 ` Raymond Yau
[not found] ` <CAGnHSEmG_9DLW6EQS2229Kq9hDF-u0J01gJXP6ozdr67Zrsb_g@mail.gmail.com>
2016-01-18 1:50 ` Raymond Yau
2016-01-18 6:17 ` Tom Yan
2016-01-18 6:50 ` Raymond Yau
2016-01-18 8:30 ` Tom Yan
2016-01-18 9:54 ` Raymond Yau
2016-01-18 15:11 ` Tom Yan
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=569a947e.870d620a.17535.2cf0@mx.google.com \
--to=tom.ty89@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=patch@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.