All of lore.kernel.org
 help / color / mirror / Atom feed
From: reetesh chandran <reeteshchandran@yahoo.com>
To: alsa-devel@alsa-project.org, Manisha Sankpal <manisha.sankpal@gmail.com>
Subject: Re: SALSA library and recording
Date: Wed, 15 Apr 2009 11:40:51 -0700 (PDT)	[thread overview]
Message-ID: <185775.25127.qm@web30001.mail.mud.yahoo.com> (raw)

Hi Manisha,
 
Sorry this is not a response which will help you.
 
I am facing similar issue. I am using SALSA and I am trying to record from a USB headset. The USB headset does have a mixer elem "Mic". But when I use snd_mixer_selem_get_capture_dB_range() or snd_mixer_selem_get_capture_volume_range() I just get zeroes. 
 
I did not do any set() functions like snd_mixer_selem_set_capture_switch_all(). Do I need to do that ? What is your source of info about how to set up the mixer for capture ? 
 
Thanks in advance
Reetesh

--- On Wed, 4/15/09, Manisha Sankpal <manisha.sankpal@gmail.com> wrote:


From: Manisha Sankpal <manisha.sankpal@gmail.com>
Subject: [alsa-devel] SALSA library and recording
To: alsa-devel@alsa-project.org
Date: Wednesday, April 15, 2009, 9:32 AM


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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



      

             reply	other threads:[~2009-04-15 18:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-15 18:40 reetesh chandran [this message]
2009-04-16  7:22 ` SALSA library and recording Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2009-04-15 16:32 Manisha Sankpal
2009-04-16  7:12 ` Clemens Ladisch
2009-04-16  7:20   ` Takashi Iwai
2009-04-16  7:21 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=185775.25127.qm@web30001.mail.mud.yahoo.com \
    --to=reeteshchandran@yahoo.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=manisha.sankpal@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.