On Fri, 19.02.10 18:57, Raymond Yau (superquad.vortex2@xxxxxxxxx) wrote: > PA assume every sound card can only record from one capture source at the > same time (like those AC97 card ) That is true. PA does not try to cover the complete functionality of the hardware. We limit ourselves to what we think is common on the desktop or in a mobile environment, and I don't think recording from mic and line-in at the same time would be useful in more than exceptional cases. > 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 -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel