From: Takashi Iwai <tiwai@suse.de>
To: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
Mark Brown <broonie@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Nenghua Cao <nhcao@marvell.com>
Subject: Re: [alsa-devel] [PATCH] ASoC: dpcm: don't do hw_param when BE has done hw_param
Date: Mon, 13 Jan 2014 11:57:02 +0100 [thread overview]
Message-ID: <s5hr48cup35.wl%tiwai@suse.de> (raw)
In-Reply-To: <1389610131.2326.16.camel@loki>
At Mon, 13 Jan 2014 10:48:51 +0000,
Liam Girdwood wrote:
>
> On Sat, 2014-01-11 at 10:35 +0100, Takashi Iwai wrote:
> > At Fri, 10 Jan 2014 18:43:09 +0000,
> > Liam Girdwood wrote:
> > >
> > > On Fri, 2014-01-10 at 14:46 +0100, Takashi Iwai wrote:
> > > > At Fri, 10 Jan 2014 12:29:08 +0000,
> > > > Liam Girdwood wrote:
> > > > >
>
> > >
> > > The intention was to use the existing alsa-lib/tinyalsa PCM hw_params
> > > APIs. The BE would just export itself to usespace as a PCM (but without
> > > the capability for direct playback/capture - just format, rate setting)
> >
> > Does it mean that, from kernel perspective, a BE creates a dedicated
> > (virtual) PCM device and expose it to user-space? Or just through
> > special API?
>
> I'm thinking a virtual PCM if you agree.
>
> We could keep the same userspace API for configuration OR we could
> extend the API slightly to add some snd_pcm_virtual_() functions.
> Extending the API would imply the virtual PCM only supports a subset of
> PCM API calls (avoiding any confusion/mixing with regular PCM APIs).
Yeah, I agree that a simple PCM device exposure would be more
straightforward.
thanks,
Takashi
prev parent reply other threads:[~2014-01-13 10:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-10 5:36 [PATCH] ASoC: dpcm: don't do hw_param when BE has done hw_param Nenghua Cao
2014-01-10 10:55 ` [alsa-devel] " Takashi Iwai
2014-01-10 11:21 ` Nenghua Cao
2014-01-10 11:47 ` Liam Girdwood
2014-01-10 11:59 ` Nenghua Cao
2014-01-10 12:01 ` Takashi Iwai
2014-01-10 12:22 ` Nenghua Cao
2014-01-10 13:34 ` Takashi Iwai
2014-01-10 12:29 ` Liam Girdwood
2014-01-10 12:51 ` Nenghua Cao
2014-01-10 13:46 ` Takashi Iwai
2014-01-10 18:43 ` Liam Girdwood
2014-01-11 9:35 ` Takashi Iwai
2014-01-11 12:08 ` Mark Brown
2014-01-13 10:48 ` Liam Girdwood
2014-01-13 10:57 ` Takashi Iwai [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=s5hr48cup35.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=liam.r.girdwood@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nhcao@marvell.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