At Wed, 15 Apr 2009 22:02:38 +0530, Manisha Sankpal wrote: > > Hi All, > I am using salsa library to capture the data from the sound card. The > requirement is that the recording should be done from line-in port of the > sound card. The selection of "Line-in" port should be done programatically. > > > With ALSA library, I am able to select the line-in by calling > snd_mixer_selem_set_capture_switch_all() function. However, this function > is returning an error when SALSA library is used. Is there any other > function/way to select the line-in mixer element in the SALSA API? The API should be same, so it's likely an implementation issue of salsa-lib. Could you show the generated file via "alsactl -f somefile store"? Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel