From: Benny Sjostrand <gorm@cucumelo.org>
To: alsa-devel@lists.sourceforge.net
Subject: [PATCH] alsa-lib: added surround51 configuration for CS46xx cards
Date: Mon, 31 Mar 2003 00:24:28 +0200 [thread overview]
Message-ID: <3E876E9C.1070905@cucumelo.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
Hi!
With the latest cs46xx patches it's finally posible to have surround51
with cs46xx soundcards (only dual CODEC's).
This patch just updates the alsa-lib/src/conf/cards/CS46xx.conf file.
$ aplay -D plug:surround51 ... seems to work fine!
/Benny
[-- Attachment #2: alsa-lib.patch --]
[-- Type: text/plain, Size: 1180 bytes --]
--- alsa-lib/src/conf/cards/CS46xx.conf Fri Nov 29 15:50:58 2002
+++ ../cvs/alsa-lib/src/conf/cards/CS46xx.conf Mon Mar 31 00:09:46 2003
@@ -26,6 +26,18 @@
device 1
}
+<confdir:pcm/center_lfe.conf>
+
+CS46xx.pcm.center_lfe.0 {
+ @args [ CARD ]
+ @args.CARD {
+ type string
+ }
+ type hw
+ card $CARD
+ device 3
+}
+
<confdir:pcm/surround40.conf>
CS46xx.pcm.surround40.0 {
@@ -59,6 +71,53 @@
{ slave 0 channel 1 }
{ slave 1 channel 0 }
{ slave 1 channel 1 }
+ ]
+}
+
+<confdir:pcm/surround51.conf>
+
+CS46xx.pcm.surround51.0 {
+ @args [ CARD ]
+ @args.CARD {
+ type string
+ }
+ type multi
+ slaves [
+ {
+ pcm {
+ @func concat
+ strings [
+ "cards.CS46xx.pcm.front.0:CARD=" $CARD
+ ]
+ }
+ channels 2
+ }
+ {
+ pcm {
+ @func concat
+ strings [
+ "cards.CS46xx.pcm.rear.0:CARD=" $CARD
+ ]
+ }
+ channels 2
+ }
+ {
+ pcm {
+ @func concat
+ strings [
+ "cards.CS46xx.pcm.center_lfe.0:CARD=" $CARD
+ ]
+ }
+ channels 2
+ }
+ ]
+ bindings [
+ { slave 0 channel 0 }
+ { slave 0 channel 1 }
+ { slave 1 channel 0 }
+ { slave 1 channel 1 }
+ { slave 2 channel 0 }
+ { slave 2 channel 1 }
]
}
next reply other threads:[~2003-03-30 22:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-30 22:24 Benny Sjostrand [this message]
2003-04-07 7:03 ` alsa-cvs linking error Andrei Boros
2003-04-07 8:05 ` Jaroslav Kysela
2003-04-07 10:32 ` Andrei Boros
2003-04-07 10:51 ` Jaroslav Kysela
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=3E876E9C.1070905@cucumelo.org \
--to=gorm@cucumelo.org \
--cc=alsa-devel@lists.sourceforge.net \
/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.