Re: ALSA UCM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux