alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Rajeev kumar <rajeev-dlh.kumar@st.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"lrg@slimlogic.co.uk" <lrg@slimlogic.co.uk>
Subject: Exporting playback and capture capability to user space
Date: Thu, 17 Nov 2011 19:05:46 +0530	[thread overview]
Message-ID: <4EC50DB2.6090009@st.com> (raw)
In-Reply-To: <4E66EFC3.2070706@st.com>

Hello Mark

I have a single codec with playback and capture capability. We are using 
it for different i2s controller. Below are the details for that.

case 1: I2S controller-1: with playback and capture capability
case 2: I2S controller-2: with playback capability only
case 3: I2S controller-3: with capture capability only.

We are registering all the I2S controller with there respective  capability.

In command 'aplay -l' or 'cat /proc/asound/pcm', among playback devices, 
capture device is also listed.  This is true in case-1 but for case-2 
and case-3 also it is showing the same behavior. According to my 
understanding it should not show the list of all devices i.e. in case of 
controller having playback capability it should show only playback 
devices not capture devices and vice versa. Please correct me if I am wrong.

So  my questions are
1. How to separate playback and capture devices in case-2 and case-3. 
Are we need to register different codec for different i2s controller?

2. Is it codec capability only which is exported to user space ?


Best Regards
Rajeev

  parent reply	other threads:[~2011-11-17 13:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06  9:34 overrun in case of record Rajeev kumar
2011-09-06 18:01 ` Mark Brown
2011-09-07  4:14   ` Rajeev kumar
2011-09-07  8:35     ` Clemens Ladisch
2011-11-17 13:35     ` Rajeev kumar [this message]
2011-11-17 15:19       ` Exporting playback and capture capability to user space Mark Brown
2011-11-21  5:49       ` Rajeev kumar
2011-11-21  6:23         ` Vinod Koul
2011-11-22  4:27           ` Rajeev kumar
2011-11-22 13:08             ` Mark Brown
2011-11-23  4:36               ` Rajeev kumar
2011-12-02 10:50             ` Rajeev kumar
2011-12-02 11:50               ` Vinod Koul
2012-01-09  6:31               ` Rajeev kumar
2012-01-12  8:45                 ` Rajeev kumar
2011-11-21 10:55         ` Mark Brown

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=4EC50DB2.6090009@st.com \
    --to=rajeev-dlh.kumar@st.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=lrg@slimlogic.co.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).