--- alsa-lib/src/conf/cards/EMU10K1.conf 16 Feb 2005 11:47:05 -0000 1.14 +++ alsa-lib/src/conf/cards/EMU10K1.conf 21 Feb 2005 13:34:35 -0000 @@ -9,9 +9,29 @@ @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 [ + { + name "EMU10K1 PCM Send Volume" + index { @func private_pcm_subdevice } + lock true + value [ 255 255 0 0 255 0 0 0 0 255 0 0 ] + } + { + name "EMU10K1 PCM Send Routing" + index { @func private_pcm_subdevice } + lock true + value [ 8 9 0 0 8 9 0 0 8 9 0 0 ] + } + ] + } } @@ -31,13 +51,6 @@ type ctl_elems hook_args [ { - name "Wave Surround Playback Volume" - preserve true - # don't lock a global control - # lock true - value [ 0 0 ] - } - { name "EMU10K1 PCM Send Volume" index { @func private_pcm_subdevice } lock true @@ -64,18 +77,6 @@ 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 preserve true