From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: SALSA library and recording Date: Thu, 16 Apr 2009 09:21:56 +0200 Message-ID: References: <5b6fae700904150932x5079088m9b2373cee37053b6@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id BB89D1038AA for ; Thu, 16 Apr 2009 09:21:56 +0200 (CEST) In-Reply-To: <5b6fae700904150932x5079088m9b2373cee37053b6@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Manisha Sankpal Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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