[alsa-devel] SALSA library and recording

Takashi Iwai tiwai at suse.de
Thu Apr 16 09:21:56 CEST 2009

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"?


More information about the Alsa-devel mailing list