Add channels parameter to surround40/51 definitions

Add channels parameter to surround40/51 definitions for drivers
using a single device.
This commit is contained in:
Takashi Iwai 2006-03-17 18:14:23 +00:00
parent 90112fff1e
commit eecfed7569
12 changed files with 108 additions and 4 deletions

View file

@ -49,6 +49,7 @@ ATIIXP-SPDMA.pcm.surround40.0 {
type hw
card $CARD
device 0
channels 4
}
hooks.0 {
type ctl_elems
@ -92,6 +93,7 @@ ATIIXP-SPDMA.pcm.surround51.0 {
type hw
card $CARD
device 0
channels 6
}
hooks.0 {
type ctl_elems

View file

@ -49,6 +49,7 @@ ATIIXP.pcm.surround40.0 {
type hw
card $CARD
device 0
channels 4
}
hooks.0 {
type ctl_elems
@ -92,6 +93,7 @@ ATIIXP.pcm.surround51.0 {
type hw
card $CARD
device 0
channels 6
}
hooks.0 {
type ctl_elems

View file

@ -84,6 +84,7 @@ Aureon51.pcm.surround40.0 {
}
type hw
card $CARD
channels 4
}
<confdir:pcm/surround41.conf>
@ -97,6 +98,7 @@ Aureon51.pcm.surround51.0 {
}
type hw
card $CARD
channels 6
}
<confdir:pcm/iec958.conf>

View file

@ -84,6 +84,7 @@ Aureon71.pcm.surround40.0 {
}
type hw
card $CARD
channels 4
}
<confdir:pcm/surround41.conf>
@ -97,6 +98,7 @@ Aureon71.pcm.surround51.0 {
}
type hw
card $CARD
channels 6
}
<confdir:pcm/surround71.conf>

View file

@ -63,6 +63,7 @@ CMI8738-MC6.pcm.surround40.0 {
type hw
card $CARD
device 1
channels 4
}
hooks.0 {
type ctl_elems
@ -77,12 +78,34 @@ CMI8738-MC6.pcm.surround40.0 {
}
}
<confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
CMI8738-MC6.pcm.surround51.0 "cards.CMI8738-MC6.pcm.surround40.0"
CMI8738-MC6.pcm.surround51.0 {
@args [ CARD ]
@args.CARD {
type string
}
type hooks
slave.pcm {
type hw
card $CARD
device 1
channels 6
}
hooks.0 {
type ctl_elems
hook_args [
{
name "Four Channel Mode"
lock true
preserve true
value false
}
]
}
}
<confdir:pcm/iec958.conf>

View file

@ -85,6 +85,7 @@ CMI8738-MC8.pcm.surround40.0 {
type hw
card $CARD
device 1
channels 4
}
hooks.0 {
type ctl_elems
@ -109,11 +110,71 @@ CMI8738-MC8.pcm.surround40.0 {
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
CMI8738-MC8.pcm.surround51.0 "cards.CMI8738-MC8.pcm.surround40.0"
CMI8738-MC8.pcm.surround51.0 {
@args [ CARD ]
@args.CARD {
type string
}
type softvol
slave.pcm {
type hooks
slave.pcm {
type hw
card $CARD
device 1
channels 6
}
hooks.0 {
type ctl_elems
hook_args [
{
name "Four Channel Mode"
lock true
preserve true
value false
}
]
}
}
control {
name "PCM Playback Volume"
card $CARD
}
}
<confdir:pcm/surround71.conf>
CMI8738-MC8.pcm.surround71.0 "cards.CMI8738-MC8.pcm.surround40.0"
CMI8738-MC8.pcm.surround71.0 {
@args [ CARD ]
@args.CARD {
type string
}
type softvol
slave.pcm {
type hooks
slave.pcm {
type hw
card $CARD
device 1
channels 8
}
hooks.0 {
type ctl_elems
hook_args [
{
name "Four Channel Mode"
lock true
preserve true
value false
}
]
}
}
control {
name "PCM Playback Volume"
card $CARD
}
}
<confdir:pcm/iec958.conf>

View file

@ -65,6 +65,7 @@ ICH.pcm.surround40.0 {
type hw
card $CARD
device 0
channels 4
}
hooks.0 {
type ctl_elems
@ -123,6 +124,7 @@ ICH.pcm.surround51.0 {
type hw
card $CARD
device 0
channels 6
}
hooks.0 {
type ctl_elems

View file

@ -65,6 +65,7 @@ ICH4.pcm.surround40.0 {
type hw
card $CARD
device 0
channels 4
}
hooks.0 {
type ctl_elems
@ -115,6 +116,7 @@ ICH4.pcm.surround51.0 {
type hw
card $CARD
device 0
channels 6
}
hooks.0 {
type ctl_elems

View file

@ -65,6 +65,7 @@ NFORCE.pcm.surround40.0 {
type hw
card $CARD
device 0
channels 4
}
hooks.0 {
type ctl_elems
@ -123,6 +124,7 @@ NFORCE.pcm.surround51.0 {
type hw
card $CARD
device 0
channels 6
}
hooks.0 {
type ctl_elems

View file

@ -58,6 +58,7 @@ VIA8233.pcm.surround40.0 {
type hw
card $CARD
device 1
channels 4
}
hooks.0 {
type ctl_elems
@ -103,6 +104,7 @@ VIA8233.pcm.surround51.0 {
type hw
card $CARD
device 1
channels 6
}
hooks.0 {
type ctl_elems

View file

@ -49,6 +49,7 @@ VIA8233A.pcm.surround40.0 {
type hw
card $CARD
device 0
channels 4
}
hooks.0 {
type ctl_elems
@ -100,6 +101,7 @@ VIA8233A.pcm.surround51.0 {
type hw
card $CARD
device 0
channels 6
}
hooks.0 {
type ctl_elems

View file

@ -58,6 +58,7 @@ VIA8237.pcm.surround40.0 {
type hw
card $CARD
device 1
channels 4
}
hooks.0 {
type ctl_elems
@ -104,6 +105,7 @@ VIA8237.pcm.surround51.0 {
type hw
card $CARD
device 1
channels 6
}
hooks.0 {
type ctl_elems