@args.CARD {
type string
}
- type hw
- card $CARD
- device 0
+ type hooks
+ slave.pcm {
+ type hw
+ card $CARD
+ device 0
+ }
+ hooks.0 {
+ type ctl_elems
+ hook_args [
+ {
+ interface PCM
+ device 0
+ name "EMU10K1 PCM Send Volume"
+ index { @func private_pcm_subdevice }
+ lock true
+ optional true
+ value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
+ }
+ {
+ # for compatibility with older drivers
+ name "EMU10K1 PCM Send Volume"
+ index { @func private_pcm_subdevice }
+ lock true
+ optional true
+ value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
+ }
+ {
+ interface PCM
+ device 0
+ name "EMU10K1 PCM Send Routing"
+ index { @func private_pcm_subdevice }
+ lock true
+ optional true
+ value [ 8 9 0 0 8 9 0 0 8 9 0 0 ]
+ }
+ {
+ # for compatibility with older drivers
+ name "EMU10K1 PCM Send Routing"
+ index { @func private_pcm_subdevice }
+ lock true
+ optional true
+ value [ 8 9 0 0 8 9 0 0 8 9 0 0 ]
+ }
+ ]
+ }
}
<confdir:pcm/rear.conf>
hooks.0 {
type ctl_elems
hook_args [
- {
- name "Wave Surround Playback Volume"
- preserve true
- # don't lock a global control
- # lock true
- value [ 0 0 ]
- }
{
interface PCM
device 0
hooks.0 {
type ctl_elems
hook_args [
- {
- name "Wave Center Playback Volume"
- preserve true
- # lock true
- value 0
- }
- {
- name "Wave LFE Playback Volume"
- preserve true
- # lock true
- value 0
- }
{
name "Headphone Center Playback Switch"
index 1