From: Jaroslav Kysela <perex@perex.cz>
To: Vinod Koul <vinod.koul@intel.com>
Cc: Takashi Iwai <tiwai@suse.de>,
alsa-devel@alsa-project.org, "Vinnakota,
Lakshmi N
<lakshmi.n.vinnakota@intel.com>"@vkoul-udesk3.iind.intel.com
Subject: Re: PCM extra attributes
Date: Thu, 25 Jul 2013 10:06:52 +0200 [thread overview]
Message-ID: <51F0DC9C.5090008@perex.cz> (raw)
In-Reply-To: <20130724170919.GD18642@intel.com>
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()
Jaroslav
--
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.
next prev parent reply other threads:[~2013-07-25 8:06 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 [this message]
2013-07-25 8:38 ` Vinod Koul
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=51F0DC9C.5090008@perex.cz \
--to=perex@perex.cz \
--cc="Vinnakota, Lakshmi N <lakshmi.n.vinnakota@intel.com>"@vkoul-udesk3.iind.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
--cc=vinod.koul@intel.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 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).