alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Jaroslav Kysela <perex@perex.cz>
Cc: alsa-devel@alsa-project.org, abraham duenas <aduejazz@gmail.com>,
	broonie@opensource.wolfsonmicro.com
Subject: Re: ALSA UCM
Date: Thu, 04 Nov 2010 19:07:08 +0000	[thread overview]
Message-ID: <1288897628.3277.99.camel@odin> (raw)
In-Reply-To: <alpine.LNX.2.00.1011041949180.29422@eeebox2.perex-int.cz>

On Thu, 2010-11-04 at 19:52 +0100, Jaroslav Kysela wrote:
> On Thu, 4 Nov 2010, Liam Girdwood wrote:
> 
> > On Thu, 2010-11-04 at 19:34 +0100, Jaroslav Kysela wrote:
> >> On Thu, 4 Nov 2010, Liam Girdwood wrote:
> >>
> >>>> 	Value {
> >>>> 	      MasterPlaybackVolume "name='Headset Playback Volume' 1"
> >>>> 	      MasterCaptureVolume "name='Capture Volume' 1"
> >>
> >> What does mean '1'? If you like to define element id index, use:
> >>
> >
> > Ah, that looks a conversion bug from Abrahams old file format to his new
> > format. I guess it caught out the parser too here.
> >
> > Abraham, could you check over your configuration files and send a patch
> > for the parser that spits an error out here.
> >
> >> MasterPlaybackVolume "name='Headset Playback Volume',index=1"
> >
> > My preference is not to use the ID since it can sometimes change with
> > driver updates. The names are pretty constant though.
> 
> You probably mean unique numid for each control? Index is just an index 
> for the ASCII name to distinguish controls with same name (I think that 
> you had a syntax name:index in the original code).

I do indeed :)

Thanks

Liam
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

  reply	other threads:[~2010-11-04 19:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03 20:38 ALSA UCM abraham duenas
2010-11-04 10:09 ` Liam Girdwood
2010-11-04 12:57   ` abraham duenas
2010-11-04 17:09     ` Liam Girdwood
2010-11-04 18:31       ` Jaroslav Kysela
2010-11-04 18:34       ` Jaroslav Kysela
2010-11-04 18:47         ` Liam Girdwood
2010-11-04 18:52           ` Jaroslav Kysela
2010-11-04 19:07             ` Liam Girdwood [this message]
2010-11-05 21:23               ` abraham duenas
2010-11-06 12:26                 ` Liam Girdwood
2010-11-09 16:54                   ` abraham duenas
2010-11-10 15:11                     ` Jaroslav Kysela
2010-11-12 15:41                       ` Liam Girdwood
2010-11-12 16:25                         ` Jaroslav Kysela
2010-11-12 16:42                           ` Liam Girdwood
2010-11-12 16:55                             ` Jaroslav Kysela
2010-11-12 17:28                               ` 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=1288897628.3277.99.camel@odin \
    --to=lrg@slimlogic.co.uk \
    --cc=aduejazz@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --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).