[fso based] Simplified mixer app

fredrik normann fredrik.normann.junk at gmail.com
Fri Oct 2 01:22:03 CEST 2009

Very nice and very much needed! Will test after a while :)


On Thu, Oct 1, 2009 at 11:24 PM, Al Johnson
<openmoko at mazikeen.demon.co.uk>wrote:

> I've made mixer app that maps a single slider to multiple alsa channels, so
> you can have one slider for 'Mic' and another for 'earpiece'. It's based on
> Angus Ainslie's fso-mixer, but using lookup tables for which channels to
> show
> in which scenario, and for mapping the single slider to multiple channels.
> It's at proof of concept stage now, but should be as functional as
> fso-mixer.
> I hope. If you aren't using stock ones it would be a good idea to back them
> up
> before using it just in case! Feedback would be welcome.
> http://www.mazikeen.demon.co.uk/openmoko/fso-simplemixer.py
> Known bugs and missing features:
> * I haven't done mapping tables for all the mixer scenarios yet. Where they
> aren't done you will see the individual sliders as you would in fso-mixer.
> * Sometimes when the state changes a setting will be shown as 0 when it is
> in
> fact non-zero. If anyone spots why this happens I would love to know!
> * The volume sliders cover the whole possible range, while most people
> probably only ever need the top half or third.
> * pyalsaaudio only accepts integer percentages when setting volumes, not
> the
> actual mixer hardware values used in the lookup tables. This may give some
> uneven steps in volume.
> * When individual alsa channels are shown they use the alsa names. This is
> fine if you know that the 'headphone' mixer controls the speaker, and the
> 'speaker' control is for the earpiece, let alone some of the more obscure
> names.
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20091002/c3a7b22b/attachment.htm 

More information about the community mailing list