[alsa-devel] From snd_kcontrol_new_t to amixer

Clemens Ladisch clemens at ladisch.de
Wed May 14 11:08:03 CEST 2008


Peter Wurmsdobler wrote:
> I am puzzled by an observation that runs against my common sense. The
> pmic-alsa-mixer.c provides 6 (six) snd_kcontrol_new_t controls with
> their callback functions, name and other members, then registers
> themusing snd_ctl_add(...). However, amixer shows only 5 (five), and all
> with different names. What is the process of generating these names if
> not from the kernel structures?

There is an additional layer (the "simple" mixer layer) on top of the
kernel mixer layer.

Use "amixer controls" or "amixer contents" to see the kernel controls.


HTH
Clemens


More information about the Alsa-devel mailing list