[alsa-devel] Softvol controls
Lennart Poettering
mznyfn at 0pointer.de
Fri Nov 30 00:28:59 CET 2007
On Wed, 21.11.07 12:22, Takashi Iwai (tiwai at suse.de) wrote:
> > Now, is there a way I can detect for a mixer element if it is
> > "real" or if it is implemented only for the "plughw" PCM? As it
> > seems the "hw:0" mixer device does contain "virtual" tracks, isn't that a
> > bit strange? Shouldn't the virtual mixer tracks be available only
> > in a mixer device "plughw:0"? That at least would be symmetric to
> > the PCM case, wouldn't it?
>
> Check snd_ctl_elem_info_is_user(). All softvol controls are
> implemented as user elements.
Hmm, how am I supposed to get the snd_ctl_elem_info_t from a
snd_mixer_elem_t or snd_mixer_selem_id_t?
I figure there is no useful documentation or even example how this is
supposed to work? Hmm, is there any real documentation available which
describes the relation of ctl, hctl, mixer and smixer at all? For the
uninitated the whols structure looks overly complex and redundant.
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the Alsa-devel
mailing list