Implement surround71 output for SB Live 24 bit.

Note: Requires updated alsa-kernel as well.
This commit is contained in:
James Courtier-Dutton 2005-05-21 15:21:04 +00:00
parent 4d7c53d280
commit b0ee34e757

View file

@ -38,6 +38,18 @@ CA0106.pcm.center_lfe.0 {
device 2 device 2
} }
<confdir:pcm/side.conf>
CA0106.pcm.side.0 {
@args [ CARD ]
@args.CARD {
type string
}
type hw
card $CARD
device 3
}
<confdir:pcm/surround40.conf> <confdir:pcm/surround40.conf>
CA0106.pcm.surround40.0 { CA0106.pcm.surround40.0 {
@ -77,6 +89,7 @@ CA0106.pcm.surround40.0 {
<confdir:pcm/surround41.conf> <confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf> <confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf> <confdir:pcm/surround51.conf>
<confdir:pcm/surround71.conf>
CA0106.pcm.surround51.0 { CA0106.pcm.surround51.0 {
@args [ CARD ] @args [ CARD ]
@ -123,6 +136,65 @@ CA0106.pcm.surround51.0 {
] ]
} }
CA0106.pcm.surround71.0 {
@args [ CARD ]
@args.CARD {
type string
}
type multi
slaves [
{
pcm {
@func concat
strings [
"cards.CA0106.pcm.front.0:CARD=" $CARD
]
}
channels 2
}
{
pcm {
@func concat
strings [
"cards.CA0106.pcm.rear.0:CARD=" $CARD
]
}
channels 2
}
{
pcm {
@func concat
strings [
"cards.CA0106.pcm.center_lfe.0:CARD=" $CARD
]
}
channels 2
}
{
pcm {
@func concat
strings [
"cards.CA0106.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> <confdir:pcm/iec958.conf>
CA0106.pcm.iec958.0 { CA0106.pcm.iec958.0 {