[alsa-devel] What is wrong in this code.
clemens at ladisch.de
Wed Oct 19 09:41:33 CEST 2011
Anders Gnistrup wrote:
> Clemens Ladisch wrote:
> > Anders Gnistrup wrote:
> > > The code works just as expected when using the:
> > > snd_ctl_elem_id_set_name(id, "PCM Playback Volume");
> > > But when I use the snd_ctl_elem_id_set_numid(id, numid); (with numid=23) it fails.
> > When using the numid to access elements, it must be the only field
> > that is set in the elem id.
> I have tried just that, but is still does not work.
I looked at the source; with the hctl functions, searching by numid is
not supported at all.
More information about the Alsa-devel