mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
set/reset the surround-swap switch for 4 and 6 channel playback.
This commit is contained in:
parent
8f2e0a48be
commit
bc62be2388
1 changed files with 50 additions and 2 deletions
|
|
@ -16,11 +16,59 @@ VIA8233A.pcm.front.0 {
|
|||
|
||||
<confdir:pcm/surround40.conf>
|
||||
|
||||
VIA8233A.pcm.surround51.0 "cards.VIA8233A.pcm.surround40.0"
|
||||
VIA8233A.pcm.surround40.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{
|
||||
name "Swap Surround Slot"
|
||||
device 0
|
||||
lock true
|
||||
preserve true
|
||||
value flase
|
||||
optional true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
<confdir:pcm/surround51.conf>
|
||||
|
||||
VIA8233A.pcm.surround51.0 "cards.VIA8233A.pcm.surround40.0"
|
||||
VIA8233A.pcm.surround51.0 {
|
||||
@args [ CARD ]
|
||||
@args.CARD {
|
||||
type string
|
||||
}
|
||||
type hooks
|
||||
slave.pcm {
|
||||
type hw
|
||||
card $CARD
|
||||
device 0
|
||||
}
|
||||
hooks.0 {
|
||||
type ctl_elems
|
||||
hook_args [
|
||||
{
|
||||
name "Swap Surround Slot"
|
||||
device 0
|
||||
lock true
|
||||
preserve true
|
||||
value true
|
||||
optional true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
<confdir:pcm/iec958.conf>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue