mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-29 06:59:53 -05:00
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:
parent
90112fff1e
commit
eecfed7569
12 changed files with 108 additions and 4 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue