Re: How to find out which PCM handle ASCII identifier to pass to snd_pcm_open?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux