mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Francisco Moraes <fmoraes@nc.rr.com>:
Added emu10k1x configuration.
This commit is contained in:
parent
ae80d8b647
commit
43cee7b8c1
2 changed files with 170 additions and 0 deletions
169
src/conf/cards/EMU10K1X.conf
Normal file
169
src/conf/cards/EMU10K1X.conf
Normal file
|
|
@ -0,0 +1,169 @@
|
|||
#
|
||||
# Configuration for the EMU10K1X chip
|
||||
#
|
||||
|
||||
<confdir:pcm/front.conf>
|
||||
|
||||
EMU10K1X.pcm.front.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
}
|
||||
|
||||
<confdir:pcm/rear.conf>
|
||||
|
||||
EMU10K1X.pcm.rear.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
device 1
|
||||
}
|
||||
|
||||
<confdir:pcm/center_lfe.conf>
|
||||
|
||||
EMU10K1X.pcm.center_lfe.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type hw
|
||||
card $CARD
|
||||
device 2
|
||||
}
|
||||
|
||||
<confdir:pcm/surround40.conf>
|
||||
|
||||
EMU10K1X.pcm.surround40.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type multi
|
||||
slaves [
|
||||
{
|
||||
pcm {
|
||||
@func concat
|
||||
strings [
|
||||
"cards.EMU10K1X.pcm.front.0:CARD=" $CARD
|
||||
]
|
||||
}
|
||||
channels 2
|
||||
}
|
||||
{
|
||||
pcm {
|
||||
@func concat
|
||||
strings [
|
||||
"cards.EMU10K1X.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>
|
||||
<confdir:pcm/surround50.conf>
|
||||
<confdir:pcm/surround51.conf>
|
||||
|
||||
EMU10K1X.pcm.surround51.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type multi
|
||||
slaves [
|
||||
{
|
||||
pcm {
|
||||
@func concat
|
||||
strings [
|
||||
"cards.EMU10K1X.pcm.front.0:CARD=" $CARD
|
||||
]
|
||||
}
|
||||
channels 2
|
||||
}
|
||||
{
|
||||
pcm {
|
||||
@func concat
|
||||
strings [
|
||||
"cards.EMU10K1X.pcm.rear.0:CARD=" $CARD
|
||||
]
|
||||
}
|
||||
channels 2
|
||||
}
|
||||
{
|
||||
pcm {
|
||||
@func concat
|
||||
strings [
|
||||
"cards.EMU10K1X.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/iec958.conf>
|
||||
|
||||
EMU10K1X.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 0
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{
|
||||
name "Analog/Digital Output Jack"
|
||||
lock true
|
||||
preserve true
|
||||
value 0
|
||||
}
|
||||
{
|
||||
name "IEC958 Playback Default"
|
||||
index 0
|
||||
lock true
|
||||
preserve true
|
||||
value [ $AES0 $AES1 $AES2 $AES3 ]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -13,6 +13,7 @@ cfg_files = aliases.conf \
|
|||
CMI8738-MC6.conf \
|
||||
CS46xx.conf \
|
||||
EMU10K1.conf \
|
||||
EMU10K1X.conf \
|
||||
ENS1370.conf \
|
||||
ENS1371.conf \
|
||||
FM801.conf \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue