[alsa-devel] ALSA UCM

Jaroslav Kysela perex at perex.cz
Thu Nov 4 19:52:24 CET 2010

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).


Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

More information about the Alsa-devel mailing list