From: Raymond Yau <superquad.vortex2@gmail.com>
To: Vinod Koul <vinod.koul@intel.com>
Cc: Takashi Iwai <tiwai@suse.de>,
ALSA Development Mailing List <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 11:54:28 +0800 [thread overview]
Message-ID: <CAN8ccia2_3b9Ua5Ze49ZMxx38GreYvaKXWYsdb1EnqyfL6LZGQ@mail.gmail.com> (raw)
In-Reply-To: <20130724170919.GD18642@intel.com>
>
> We were looking to find the substream index in the userspace for the device
> opened (in case we support multiple substreams and mix them).
http://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m___info.html
snd_pcm_info_get_subdevice() - Get subdevice from a PCM info container
snd_pcm_info_get_subdevice_name() - Get subdevice name from a PCM info
container
snd_pcm_info_get_subdevice_count() - Get subdevices count from a PCM info
container
snd_pcm_info_get_subdevice_avail() - Get avail subdevices count from a PCM
info container
snd_pcm_info_set_subdevice - Set wanted subdevice inside a PCM info
container
>
> 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 subdevices of a device need to same format , rate , channels, period
and buffer constraints
http://git.alsa-project.org/?p=alsa-tools.git;a=tree;f=hwmixvolume
next prev parent reply other threads:[~2013-07-25 3:54 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 [this message]
2013-07-25 8:06 ` Jaroslav Kysela
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=CAN8ccia2_3b9Ua5Ze49ZMxx38GreYvaKXWYsdb1EnqyfL6LZGQ@mail.gmail.com \
--to=superquad.vortex2@gmail.com \
--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).