From: "Clemens Ladisch" <cladisch@fastmail.net>
To: "John L. Utz III" <john.utz@dmx.com>,
ALSA devel <alsa-devel@alsa-project.org>
Subject: Re: Where is simple mixer control "Surround" defined for ac97 or via82xx? I cant find it anywhere in ac97....
Date: Fri, 10 Aug 2007 09:33:46 +0200 [thread overview]
Message-ID: <1186731226.23948.1204693671@webmail.messagingengine.com> (raw)
In-Reply-To: <20070808150429.45d1abef@jutz-fc6.na.corp.dmxmusic.com>
John L. Utz III wrote:
> amixer controls | grep Surround
> numid=20,iface=MIXER,name='Surround Playback Switch'
> numid=21,iface=MIXER,name='Surround Playback Volume'
>
> But for the life of me, i cant find the code that implements it!
Around line 1350 in ac97_codec.c:
/* build surround controls */
if ((snd_ac97_try_volume_mix(ac97, AC97_SURROUND_MASTER))
&& !(ac97->flags & AC97_AD_MULTI)) {
/* Surround Master (0x38) is with stereo mutes */
if ((err = snd_ac97_cmix_new_stereo(card, "Surround Playback",
AC97_SURROUND_MASTER, 1, 0,
ac97)) < 0)
return err;
}
HTH
Clemens
next prev parent reply other threads:[~2007-08-10 7:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-08 22:04 Where is simple mixer control "Surround" defined for ac97 or via82xx? I cant find it anywhere in ac97 John L. Utz III
2007-08-10 7:33 ` Clemens Ladisch [this message]
2007-08-10 17:56 ` John L. Utz III
2007-08-10 18:04 ` Lee Revell
2007-08-10 18:48 ` John L. Utz III
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=1186731226.23948.1204693671@webmail.messagingengine.com \
--to=cladisch@fastmail.net \
--cc=alsa-devel@alsa-project.org \
--cc=john.utz@dmx.com \
/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.