[alsa-devel] How to find out which PCM handle ASCII identifier to pass to snd_pcm_open?
I have just started learning ALSA's api, and came accross some examples at http://equalarea.com/paul/alsa-audio.html, which pass argv[1] to snd_pcm_open.
My question is which should be the values of argv[1] for the microphone, and left and right speakers devices?
I'm not sure this is the right mailing list for this question, and I apologize if not :-)
Thanks,
Andre
At Sun, 21 Sep 2008 12:33:37 -0700 (PDT), Andre Kirchner wrote:
I have just started learning ALSA's api, and came accross some examples at http://equalarea.com/paul/alsa-audio.html, which pass argv[1] to snd_pcm_open.
My question is which should be the values of argv[1] for the microphone, and left and right speakers devices?
Right now there is no persistent names for them. The apps are supposed to open "default", and let user adjust the proper input source via mixer. So, in general, the input/output route isn't chosen at the open time except for SPDIF and surrounds.
Takashi
participants (2)
-
Andre Kirchner
-
Takashi Iwai