[alsa-devel] [PATCH - amixer] listen to D-Bus for volume-up, volume-down and mute signals.

Lukasz Stelmach stlman at poczta.fm
Mon Aug 3 14:04:09 CEST 2009

Takashi Iwai pisze:
> At Mon,  3 Aug 2009 12:43:21 +0200,
> Łukasz Stelmach wrote:
>> The patch introduces D-Bus support in amixer. With --dbus option given amixer
>> works continiously (like with the --stdin) waiting for
>> org.freedesktop.Hal.Device.Condition with the first argument "ButtonPressed"
>> and the second being one of: "volume-up", "volume-down" and "mute". These
>> are emmited by the HAL input helper. A single amixer process can controll
>> one mixer item. There are options to choose a specific item to controll,
>> an input device to listen and a single adjustment step size.
>> Signed-off-by: Łukasz Stelmach <stlman at poczta.fm>
> Thanks for the patch.
> The approach is interesting, but I'm not sure whether we should put
> all into amixer in this way since we don't want extra library
> dependency.  (Note: amixer could be used in initrd.)
> I think it's better to split the code and make it as an individual
> daemon instead of additional options of amixer.

No worries ;) there is --with(out)--dbus option for configure to
disable all this code which is enough for initrd because most often
(AFAIK) initrd binaries are not the same that in the live system.

Było mi bardzo miło.               Czwarta pospolita klęska, [...]
>Łukasz<                 Już nie katolicka lecz złodziejska.  (c)PP

Zostan Dziewczyna lub Chlopakiem lata!
Wygraj skuter >> http://link.interia.pl/f22a7 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stlman.vcf
Type: text/x-vcard
Size: 176 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090803/02c6cf5d/attachment-0001.bin 

More information about the Alsa-devel mailing list