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

Liam Girdwood lrg at slimlogic.co.uk
Mon Aug 3 21:29:23 CEST 2009


On Mon, 2009-08-03 at 19:34 +0200, Lukasz Stelmach wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mark Brown pisze:
> > On Mon, Aug 03, 2009 at 06:59:32PM +0200, Lukasz Stelmach wrote:
> >> Mark Brown pisze:
> > 
> >>> I tend to agree, merging it into amixer seems kind of arbatrary.  Such a
> >>> daemon (and its dbus interface) may also be useful for handling things
> >>> like scenario management so I can see it growing over time.
> > 
> >> Scenario management? Could you please say something more what I
> >> have not been missing for so long ;-)
> > 
> > See http://www.slimlogic.co.uk/?p=40
> 
> Thanks. That's definitely not anything I had in mind doing that patch.
> 

We are about to start another sprint on the scenario manager in
September. Eventual aim would be to merge in into alsa-lib and salsa for
audio hardware control abstraction. i.e. abstract per device/card
hardware audio mixers/muxes/gains/attenuations/switches settings into a
generic and meaningful scenario (or use case) e.g. "Headset Phone Call".

dbus integration is something that interests me. Please take a look at
the scenario lib public header and let me know if the API fits into your
design.

http://git.slimlogic.co.uk/?p=alsa-scenario.git;a=blob;f=include/ascenario.h;h=fd341133a601e121978054d5b2064a7a1b2d78b7;hb=8bd7f83d847424eb44704cf1649974b2fda8d8f1


Thanks

Liam 



More information about the Alsa-devel mailing list