From: Mikael Magnusson <mikaelmagnusson@glocalnet.net>
To: alsa-devel@alsa-project.org
Subject: [PATCH 4/5] emu10k1 SB Live: Master volume and front channels via fxbus 8,9
Date: Mon, 21 Feb 2005 20:45:11 +0100 [thread overview]
Message-ID: <421A3A47.2050102@glocalnet.net> (raw)
[-- 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
reply other threads:[~2005-02-21 19:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=421A3A47.2050102@glocalnet.net \
--to=mikaelmagnusson@glocalnet.net \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.