* [PATCH 4/5] emu10k1 SB Live: Master volume and front channels via fxbus 8,9
@ 2005-02-21 19:45 Mikael Magnusson
0 siblings, 0 replies; only message in thread
From: Mikael Magnusson @ 2005-02-21 19:45 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 219 bytes --]
front_config.patch:
Routes front channels via fxbus 8 and 9 instead of fxbus 0 and 1. This
makes the front and default outputs independent of each other.
Signed-Off-By: Mikael Magnusson <mikma@users.sourceforge.net>
[-- Attachment #2: front_config.patch --]
[-- Type: text/x-patch, Size: 1309 bytes --]
--- 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 ]
+ }
+ ]
+ }
}
<confdir:pcm/rear.conf>
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-21 19:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-21 19:45 [PATCH 4/5] emu10k1 SB Live: Master volume and front channels via fxbus 8,9 Mikael Magnusson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.