21 Feb
2010
21 Feb
'10
5:01 a.m.
2010/2/19 Lennart Poettering mznyfn@0pointer.de
Is HDA_SUBDEV_NID_FLAG or any API for the application to find the correct mixer control for these kind of capturing subdevices ? ( simple mixer
api
is not able to know the subdevice number )
There is currently no API at all to figure out the relation between PCM devices and mixer controls in ALSA. PA hences bases this all on assumptions and expectes in this acse that the first mixer control is also the first PCM device, if you understand what I mean by that.
Lennart
No, there is API which allow PA to find out the correct mixer control
However Simple Mixer API cannot know the subdevice number , you have to use control API ( the lower level API used by Simple Mixer API )