From 85216d820e0511af53d34986a6aef006b1c2df9f Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 13 Oct 2003 16:34:55 +0000 Subject: [PATCH] changed the PCM routing for the recent redesign of the driver. --- src/conf/cards/Audigy.conf | 48 ++++++++++++++++++++----------------- src/conf/cards/Audigy2.conf | 48 ++++++++++++++++++++----------------- 2 files changed, 52 insertions(+), 44 deletions(-) diff --git a/src/conf/cards/Audigy.conf b/src/conf/cards/Audigy.conf index b047f8db..18f0549d 100644 --- a/src/conf/cards/Audigy.conf +++ b/src/conf/cards/Audigy.conf @@ -5,13 +5,35 @@ Audigy.pcm.front.0 { - @args [ CARD ] + @args [ CARD ] @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 [ 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ] + } + { + name "EMU10K1 PCM Send Routing" + index { @func private_pcm_subdevice } + lock true + value [ 0 1 2 3 0 0 0 0 8 9 0 1 0 0 0 0 8 9 0 1 0 0 0 0 ] + } + + ] + } + } @@ -30,12 +52,6 @@ Audigy.pcm.rear.0 { hooks.0 { type ctl_elems hook_args [ - { - name "Wave Surround Playback Volume" - preserve true - lock true - value [ 0 0 ] - } { name "EMU10K1 PCM Send Volume" index { @func private_pcm_subdevice } @@ -62,18 +78,6 @@ Audigy.pcm.center_lfe.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 "EMU10K1 PCM Send Volume" index { @func private_pcm_subdevice } diff --git a/src/conf/cards/Audigy2.conf b/src/conf/cards/Audigy2.conf index d1631e48..85885217 100644 --- a/src/conf/cards/Audigy2.conf +++ b/src/conf/cards/Audigy2.conf @@ -5,13 +5,35 @@ Audigy2.pcm.front.0 { - @args [ CARD ] + @args [ CARD ] @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 [ 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ] + } + { + name "EMU10K1 PCM Send Routing" + index { @func private_pcm_subdevice } + lock true + value [ 0 1 2 3 0 0 0 0 8 9 0 1 0 0 0 0 8 9 0 1 0 0 0 0 ] + } + + ] + } + } @@ -30,12 +52,6 @@ Audigy2.pcm.rear.0 { hooks.0 { type ctl_elems hook_args [ - { - name "Wave Surround Playback Volume" - preserve true - lock true - value [ 0 0 ] - } { name "EMU10K1 PCM Send Volume" index { @func private_pcm_subdevice } @@ -62,18 +78,6 @@ Audigy2.pcm.center_lfe.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 "EMU10K1 PCM Send Volume" index { @func private_pcm_subdevice } -- 2.47.1