24 Nov
2011
24 Nov
'11
2:37 p.m.
Borg Onion wrote:
the "enum _snd_ctl_elem_iface" definition hints at these element lists containing PCM devices.
iface=PCM means that the control is associated with some PCM device (identified by device/subdevice).
Lastly, my calls to snd_ctl_elem_list_get_index() always return 0. Shouldn't they be returning the index passed in?
A control is identified either by the numid, a non-zero unique number, or by the interface/device/subdevice/name/index fields. The index field is used when there are multiple controls that would otherwise have the same ID.
Regards, Clemens