From: Vinod Koul <vinod.koul@intel.com>
To: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>,
alsa-devel@alsa-project.org, lakshmi.n.vinnakota@intel.com
Subject: Re: PCM extra attributes
Date: Thu, 25 Jul 2013 14:08:10 +0530 [thread overview]
Message-ID: <20130725083810.GK18642@intel.com> (raw)
In-Reply-To: <51F0DC9C.5090008@perex.cz>
On Thu, Jul 25, 2013 at 10:06:52AM +0200, Jaroslav Kysela wrote:
> Date 24.7.2013 19:09, Vinod Koul wrote:
> > Hey Takashi,
> >
> > We were looking to find the substream index in the userspace for the device
> > opened (in case we support multiple substreams and mix them). Since we also
> > wanted to have some specific alsa controls for each substream the problem of not
> > knowing substream in usermode make stuff interesting!
>
> The substream/subdevice index is in the snd_pcm_info field, so you can
> correlate the PCM with the controls from the control API.
>
> snd_pcm_info_get_subdevice()
This looks intresting, Thanks Jarsolav and Raymond.
If I get snd_pcm_info after the stream has been created I should see the
subdevice and thus use alsa controls corrorsponding.
Let me test this, it should work
~Vinod
prev parent reply other threads:[~2013-07-25 9:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-24 17:09 PCM extra attributes Vinod Koul
2013-07-25 3:54 ` Raymond Yau
2013-07-25 8:06 ` Jaroslav Kysela
2013-07-25 8:38 ` Vinod Koul [this message]
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=20130725083810.GK18642@intel.com \
--to=vinod.koul@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=lakshmi.n.vinnakota@intel.com \
--cc=perex@perex.cz \
--cc=tiwai@suse.de \
/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.