[alsa-devel] Simple Mixer help

Clemens Ladisch clemens at ladisch.de
Thu Apr 30 16:39:01 CEST 2015


Bram Bos wrote:
>      const char *card = "hw2"; // just for this example, don't hard-code this!

"hw2" is not the same as "hw:2".

>      const char *selem_name = "PCM"; // for some reason Master didn't work, but PCM does...

This must be the name of a mixer element implemented by the card.
(Some USB devices don't have any.)


Regards,
Clemens


More information about the Alsa-devel mailing list