25 Sep
2008
25 Sep
'08
12:49 p.m.
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