* Identifying the PCM/Mic mixer
@ 2003-07-10 6:13 Steve Smith
2003-07-14 14:33 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Steve Smith @ 2003-07-10 6:13 UTC (permalink / raw)
To: alsa-devel
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.
Thanks,
Steve
-------------------------------------------------------
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/bulletproofapps
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Identifying the PCM/Mic mixer
2003-07-10 6:13 Identifying the PCM/Mic mixer Steve Smith
@ 2003-07-14 14:33 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2003-07-14 14:33 UTC (permalink / raw)
To: Steve Smith; +Cc: alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-14 14:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-10 6:13 Identifying the PCM/Mic mixer Steve Smith
2003-07-14 14:33 ` Takashi Iwai
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.