mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
conf/pcm: Add support for Echo3G devices. Thanks to unimatrix.
BugLink: https://bugs.launchpad.net/bugs/433573 Signed-off-by: Luke Yelavich <luke.yelavich@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
c3ed2c9850
commit
65298d98f3
2 changed files with 319 additions and 0 deletions
318
src/conf/cards/Echo_Echo3G.conf
Normal file
318
src/conf/cards/Echo_Echo3G.conf
Normal file
|
|
@ -0,0 +1,318 @@
|
|||
#
|
||||
# Configuration for the Echo3G driver
|
||||
#
|
||||
|
||||
<confdir:pcm/front.conf>
|
||||
Echo_Echo3G.pcm.front.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
subdevice 0
|
||||
}
|
||||
|
||||
<confdir:pcm/rear.conf>
|
||||
Echo_Echo3G.pcm.rear.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
subdevice 4
|
||||
}
|
||||
|
||||
<confdir:pcm/center_lfe.conf>
|
||||
Echo_Echo3G.pcm.center_lfe.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
subdevice 2
|
||||
}
|
||||
|
||||
<confdir:pcm/side.conf>
|
||||
Echo_Echo3G.pcm.side.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
subdevice 6
|
||||
}
|
||||
|
||||
<confdir:pcm/surround40.conf>
|
||||
Echo_Echo3G.pcm.surround40.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.rear.0:CARD=" $CARD
|
||||
]
|
||||
}
|
||||
channels 2
|
||||
}
|
||||
]
|
||||
bindings [
|
||||
{ slave 0 channel 0 }
|
||||
{ slave 0 channel 1 }
|
||||
{ slave 1 channel 0 }
|
||||
{ slave 1 channel 1 }
|
||||
]
|
||||
}
|
||||
|
||||
<confdir:pcm/surround41.conf>
|
||||
Echo_Echo3G.pcm.surround41.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.rear.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 }
|
||||
{ slave 1 channel 1 }
|
||||
{ slave 2 channel 0 }
|
||||
]
|
||||
}
|
||||
|
||||
<confdir:pcm/surround50.conf>
|
||||
Echo_Echo3G.pcm.surround50.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.rear.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 }
|
||||
{ slave 1 channel 1 }
|
||||
{ slave 2 channel 1 }
|
||||
]
|
||||
}
|
||||
|
||||
<confdir:pcm/surround51.conf>
|
||||
Echo_Echo3G.pcm.surround51.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.rear.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 }
|
||||
{ slave 1 channel 1 }
|
||||
{ slave 2 channel 0 }
|
||||
{ slave 2 channel 1 }
|
||||
]
|
||||
}
|
||||
|
||||
<confdir:pcm/surround71.conf>
|
||||
Echo_Echo3G.pcm.surround71.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.rear.0:CARD=" $CARD
|
||||
]
|
||||
}
|
||||
channels 2
|
||||
}
|
||||
{
|
||||
pcm {
|
||||
@func concat
|
||||
strings [
|
||||
"cards.Echo_Echo3G.pcm.center_lfe.0:CARD=" $CARD
|
||||
]
|
||||
}
|
||||
channels 2
|
||||
}
|
||||
{
|
||||
pcm {
|
||||
@func concat
|
||||
strings [
|
||||
"cards.Echo_Echo3G.pcm.side.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 }
|
||||
{ slave 3 channel 0 }
|
||||
{ slave 3 channel 1 }
|
||||
]
|
||||
}
|
||||
|
||||
<confdir:pcm/iec958.conf>
|
||||
Echo_Echo3G.pcm.iec958.0 {
|
||||
@args [ CARD AES0 AES1 AES2 AES3 ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
@args.AES0 {
|
||||
type integer
|
||||
}
|
||||
@args.AES1 {
|
||||
type integer
|
||||
}
|
||||
@args.AES2 {
|
||||
type integer
|
||||
}
|
||||
@args.AES3 {
|
||||
type integer
|
||||
}
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 1
|
||||
}
|
||||
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{
|
||||
interface PCM
|
||||
name "IEC958 Playback Default"
|
||||
preserve true
|
||||
optional true
|
||||
value [ $AES0 $AES1 $AES2 $AES3 ]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -19,6 +19,7 @@ cfg_files = aliases.conf \
|
|||
CMI8738-MC8.conf \
|
||||
CMI8788.conf \
|
||||
CS46xx.conf \
|
||||
Echo_Echo3G.conf \
|
||||
EMU10K1.conf \
|
||||
EMU10K1X.conf \
|
||||
ENS1370.conf \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue