alsa-lib: add LaCie Firewire Speakers/Griffin FireWave Surround driver

Add configuration files for the "default"/"front"/"surround51" devices
of the FireWire driver.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
This commit is contained in:
Clemens Ladisch 2011-03-15 08:02:59 +01:00
parent 886adf664b
commit 8650c02ae2
3 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,26 @@
#
# Configuration for the LaCie Firewire speakers
#
FWSpeakers.pcm.default {
@args [ CARD ]
@args.CARD {
type string
}
type plug
slave.pcm {
@func concat
strings [ "dmix:" $CARD ",FORMAT=S32" ]
}
}
<confdir:pcm/front.conf>
FWSpeakers.pcm.front.0 {
@args [ CARD ]
@args.CARD {
type string
}
type hw
card $CARD
}

View file

@ -0,0 +1,50 @@
#
# 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/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
}
}

View file

@ -25,6 +25,8 @@ cfg_files = aliases.conf \
ENS1371.conf \
ES1968.conf \
FM801.conf \
FWSpeakers.conf \
FireWave.conf \
GUS.conf \
HDA-Intel.conf \
ICE1712.conf \