15 Apr
2009
15 Apr
'09
7:32 p.m.
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 help would be appreciated. Thanks & regards, manisha