[alsa-devel] On mixer controls naming

Clemens Ladisch clemens at ladisch.de
Mon Jan 13 12:12:40 CET 2014


R. Lemos wrote:
> The other control I've named "Tone Control - Bass", as indicated in
> writing-an-alsa-driver.pdf. But alsamixer shows it under both
> "Playback" and "Capture" views.
>
> How can I restrict this latter control to just playback?

For a control to be classified as a playback control, its name must
have one of the suffixes " Playback Enum", " Playback Switch",
" Playback Route", or " Playback Volume".


Regards,
Clemens


More information about the Alsa-devel mailing list