From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>,
ALSA development <alsa-devel@alsa-project.org>,
Mark Brown <broonie@opensource.wolfsonmicro.com>
Subject: Re: [PATCH 0/3] alsa-lib: UCM - Use Case Manager
Date: Wed, 25 Aug 2010 10:26:40 +0100 [thread overview]
Message-ID: <1282728400.2991.114.camel@odin> (raw)
In-Reply-To: <alpine.LNX.2.00.1008250925540.10278@eeebox2.perex-int.cz>
On Wed, 2010-08-25 at 10:28 +0200, Jaroslav Kysela wrote:
> On Tue, 24 Aug 2010, Liam Girdwood wrote:
>
> > On Mon, 2010-08-23 at 19:47 +0200, Jaroslav Kysela wrote:
> >
> >> Unfortunately, I have many ideas to improve the API before I can approve
> >> or recommend the inclusion to the alsa-lib's tree.
> >>
> >
> > I wish you had shared your API ideas with us at the time of the RFC. A
> > lot of time and effort has since went into UCM development :-/
>
> I too. My big problem is the lack of time.
Same here, not enough hours in the day.
>
> I tried to rethink the API to be more universal for future extensions (but
> the implementation will not dramatically change and the mechanisms you
> want to expose are not touched at all). I just wanted to add the
> possibility to create the virtual cards combining resources from any
> PCM/control/mixer device available in system. The proper device evaluation
> and mixer control assignments is something which is wanted by PulseAudio
> developers.
>
> My proposed header file with reduced function set but not reduced
> functionality is available at:
>
> http://git.alsa-project.org/?p=alsa-lib.git;a=blob;f=include/use-case.h;h=33d480f66d000fa7c86367c68b98bdaad9217a74;hb=fcc9adb26058667656277ba92032ba7e0b00261c
>
ok, that looks good.
> The syntax of your proposed files is very close to the other alsa-lib's
> syntax. For example:
>
> SectionModifier
> Name "Capture Voice"
> EnableSequence
> seq1 1
> EndSequence
> QoS Voice
> EndSection
>
> Can be written in alsa-lib's syntax:
>
> SectionModifier."Capture Voice" [
> EnableSequence [
> seq1 1
> ]
> QoS Voice
> ]
>
> So I'm thinking to recode all parsers to use the alsa-lib configuration
> parsers. As bonus, the alsa-lib configuration routines give us some
> runtime evaluation and possibility to reference (include) other files.
>
ok, I agree here too.
> Next step may be to support the 'amixer' like syntax for the control and
> mixer element handling.
Btw, we need to try and avoid using the control ID in any mixer syntax.
I found that minor driver changes could change ID numbering meaning
major updates to config files. The mixer names are pretty constant and
using them has been quite painless.
Thanks
Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
next prev parent reply other threads:[~2010-08-25 9:26 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 [this message]
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
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=1282728400.2991.114.camel@odin \
--to=lrg@slimlogic.co.uk \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.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 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).