All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Steve Smith <ssmith@vislab.usyd.edu.au>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Identifying the PCM/Mic mixer
Date: Mon, 14 Jul 2003 16:33:13 +0200	[thread overview]
Message-ID: <s5hbrvxuqja.wl@alsa2.suse.de> (raw)
In-Reply-To: <1057817597.832.10.camel@piccinini.vislab.usyd.edu.au>

At 10 Jul 2003 16:13:17 +1000,
Steve Smith wrote:
> 
> Hi,
> 
> I'm writing an Alsa driver for an application that needs both playback
> and capture, and needs to control the mixer settings.  I'm using the
> plughw: interface for both play and capture so I assume that I need to
> control the mixer volume for the PCM interface.  Is this correct, and
> how do I identify the PCM mixer element?  I could just compare the elem
> name, but this seems like a bit of a hack.

in most cases, yes, "PCM Playback Volume" and "Switch" are used for
controlling the PCM volumes.  but be aware that there are some cases
which don't have these controls but only "Master" controls.
so, this basically depends on the card.  xmms, for example, lets user
choose the mixer to control.

for identification: specify the proper element id (i.e. name, index,
device, iface).  you don't need to look-up and compare by yourself.


Takashi



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1

      reply	other threads:[~2003-07-14 14:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-10  6:13 Identifying the PCM/Mic mixer Steve Smith
2003-07-14 14:33 ` Takashi Iwai [this message]

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=s5hbrvxuqja.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=ssmith@vislab.usyd.edu.au \
    /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.