[alsa-devel] SALSA library and recording

Manisha Sankpal manisha.sankpal at gmail.com
Wed Apr 15 18:32:38 CEST 2009


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


More information about the Alsa-devel mailing list