From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Jaroslav Kysela <perex@perex.cz>
Cc: ALSA development <alsa-devel@alsa-project.org>,
Liam Girdwood <lrg@slimlogic.co.uk>
Subject: Re: [PATCH 0/3] alsa-lib: UCM - Use Case Manager
Date: Wed, 8 Sep 2010 10:47:19 +0100 [thread overview]
Message-ID: <20100908094719.GD31253@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <alpine.LNX.2.00.1009080934380.10278@eeebox2.perex-int.cz>
On Wed, Sep 08, 2010 at 09:54:50AM +0200, Jaroslav Kysela wrote:
> On Tue, 7 Sep 2010, Mark Brown wrote:
> >Currently outside of the explict sequences provided to override the
> >default transitions the use case manager configurations are declarative
> >rather than ordering based. This lets the user specify end states and
> >lets the use case manager code work out the best way to accomplish those
> >configurations which seems like a valuable property.
> I don't see any difference here. I checked the Liam's code and there
> is no intelligence regarding the ALSA controls API. The sequences
Right, just now it's not doing anything because at the minute we don't
have much option but it does mean that the control format doesn't lock
us into this and allows room for expansion.
> are just processed in the serialized way and they must be (for
> example to satisfy the time delay requirements between control
> writes).
I'd really expect the driver to be finiessing stuff.
> Note that my proposal is just extension. It's like difference
> between full desktop system and a small optimized system (for
> example for small wireless hardware platforms). There are many
See below.
> My motivation is to make UCM useable also for the desktop systems.
> In this environment might be useful to send external events to
> another layers when an app requests specific audio device. For
> example, HDMI is connected with the video link so the X11 server
> might be notified about this request.
Right, but the expectation is that the system management service which
is driving UCM will able to also drive other subsysems, and it's not
entirely obvious that the audio use case selection should drive too
much non-audio stuff directly.
This and some of your other comments make me concerned that you aren't
aware of the complexity of the audio subsystems on high end embedded
devices like smartphones. Things like the video use case you describe
above are not at all unusual for smartphones - I actually currently have
a smartphone sitting plugged into my AV system at home and able to
deliver audio and video to it (though only with composite).
A modern smartphone can have multiple independant independantly
routeable audio streams between the CPU and primary audio CODEC, plus
separate digital audio streams between the CODEC and the cellular modem
and bluetooth. There will be headphones, an earpiece speaker, possibly
one or more separate music/speakerphone speakers, at least one on-board
microphone and a headset microphone. Add on to this a separate audio
CODEC for HDMI, A2DP, and accessory handling (including stuff like
muxing composite video out onto the same jack pins used for headset
microphone) and you've got a very flexible system.
When thinking about these issues it is generally safe to assume that
embedded systems can have software that's at least as complex as that on
PC class hardware. I would be very surprised if a software model which
meets the needs of complex embedded systems is not also capable of doing
everything a desktop needs.
next prev parent reply other threads:[~2010-09-08 9:47 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-23 16:17 [PATCH 0/3] alsa-lib: UCM - Use Case Manager Liam Girdwood
2010-08-23 16:17 ` [PATCH 1/3] ucm: header - ALSA " Liam Girdwood
2010-08-24 19:09 ` Chris Winter
2010-08-24 20:34 ` Liam Girdwood
2010-08-23 16:17 ` [PATCH 3/3] ucm: build - add build support for " Liam Girdwood
2010-08-23 17:47 ` [PATCH 0/3] alsa-lib: UCM - " Jaroslav Kysela
2010-08-23 17:50 ` Mark Brown
2010-08-23 17:51 ` Mark Brown
2010-08-24 9:09 ` Liam Girdwood
2010-08-25 8:28 ` Jaroslav Kysela
2010-08-25 9:26 ` Liam Girdwood
2010-08-25 9:35 ` Jaroslav Kysela
2010-08-25 10:43 ` Liam Girdwood
2010-08-25 16:34 ` Jaroslav Kysela
[not found] ` <1283864698.3048.26.camel@odin>
2010-09-07 14:42 ` Jaroslav Kysela
2010-09-07 15:53 ` Mark Brown
2010-09-07 18:17 ` Jaroslav Kysela
2010-09-07 18:53 ` Mark Brown
2010-09-08 7:54 ` Jaroslav Kysela
2010-09-08 9:47 ` Mark Brown [this message]
2010-09-08 8:19 ` Jaroslav Kysela
2010-09-09 12:16 ` Mark Brown
2010-09-07 20:02 ` Liam Girdwood
2010-09-07 22:43 ` Mark Brown
2010-09-20 16:26 ` Colin Guthrie
2010-09-21 17:13 ` Chris Winter
2010-09-21 17:40 ` Mark Brown
2010-09-21 18:11 ` Jaroslav Kysela
2010-09-22 11:47 ` Colin Guthrie
2010-09-22 13:20 ` Mark Brown
2010-09-22 14:06 ` Jaroslav Kysela
2010-09-22 15:14 ` Mark Brown
2010-09-22 18:05 ` Jaroslav Kysela
2010-09-22 18:48 ` Mark Brown
2010-09-23 7:18 ` Niels Mayer
2010-09-23 10:06 ` Mark Brown
2010-09-25 13:07 ` Colin Guthrie
2010-09-22 15:20 ` Liam Girdwood
2010-08-24 1:23 ` Raymond Yau
2010-08-24 9:41 ` 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=20100908094719.GD31253@rakim.wolfsonmicro.main \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=lrg@slimlogic.co.uk \
--cc=perex@perex.cz \
/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).