* snd_ctl_elem_list
@ 2012-10-15 5:09 Paul
0 siblings, 0 replies; only message in thread
From: Paul @ 2012-10-15 5:09 UTC (permalink / raw)
To: alsa-devel
Newbie. Trying to discover information about the audio hardware.
Specifically about a USB microphone ( Audio-Technia AT2020USB ) and
whether it has a volume control. Writing in Ada just to be difficult.
Not having any problems with that though.
After doing a malloc and a snd_ctl_elem_list I can use
ctl_elem_list_count to get the number of elements. This number is
non-zero ( 2 for the AT2020, 34 for the on-board Intel audio chip ).
Then I can use ctl_elem_to get the number of used. That number is zero
and prevents me from trying to access the element list.
How can I find out information about the elements in the list? How do
these elements become used? Is this even the correct path to try to
discover the volume control?
Thanks,
Paul I
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-15 5:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 5:09 snd_ctl_elem_list Paul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).