mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-05 04:06:34 -05:00
There may be multiple FireWave soundcards in the system. Overwrite the PCM configurations when loaded multiple times. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
51 lines
705 B
Text
51 lines
705 B
Text
#
|
|
# Configuration for the Griffin FireWave Surround
|
|
#
|
|
|
|
FireWave.pcm.!default {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type plug
|
|
slave.pcm {
|
|
@func concat
|
|
strings [ "dmix:" $CARD ",FORMAT=S32" ]
|
|
}
|
|
}
|
|
|
|
<confdir:pcm/front.conf>
|
|
|
|
FireWave.pcm.front.!0 {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type hw
|
|
card $CARD
|
|
}
|
|
|
|
<confdir:pcm/surround21.conf>
|
|
<confdir:pcm/surround41.conf>
|
|
<confdir:pcm/surround50.conf>
|
|
<confdir:pcm/surround51.conf>
|
|
|
|
FireWave.pcm.surround51.!0 {
|
|
@args [ CARD ]
|
|
@args.CARD {
|
|
type string
|
|
}
|
|
type route
|
|
ttable [
|
|
[ 1 0 0 0 0 0 ]
|
|
[ 0 1 0 0 0 0 ]
|
|
[ 0 0 0 0 1 0 ]
|
|
[ 0 0 0 0 0 1 ]
|
|
[ 0 0 1 0 0 0 ]
|
|
[ 0 0 0 1 0 0 ]
|
|
]
|
|
slave.pcm {
|
|
type hw
|
|
card $CARD
|
|
}
|
|
}
|