Re: Softvol controls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 21.11.07 12:22, Takashi Iwai (tiwai@xxxxxxx) 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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux