Very nice and very much needed! Will test after a while :)<br><br>-fredrik-normann-<br><br><div class="gmail_quote">On Thu, Oct 1, 2009 at 11:24 PM, Al Johnson <span dir="ltr">&lt;<a href="mailto:openmoko@mazikeen.demon.co.uk">openmoko@mazikeen.demon.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I&#39;ve made mixer app that maps a single slider to multiple alsa channels, so<br>
you can have one slider for &#39;Mic&#39; and another for &#39;earpiece&#39;. It&#39;s based on<br>
Angus Ainslie&#39;s fso-mixer, but using lookup tables for which channels to show<br>
in which scenario, and for mapping the single slider to multiple channels.<br>
<br>
It&#39;s at proof of concept stage now, but should be as functional as fso-mixer.<br>
I hope. If you aren&#39;t using stock ones it would be a good idea to back them up<br>
before using it just in case! Feedback would be welcome.<br>
<br>
<a href="http://www.mazikeen.demon.co.uk/openmoko/fso-simplemixer.py" target="_blank">http://www.mazikeen.demon.co.uk/openmoko/fso-simplemixer.py</a><br>
<br>
Known bugs and missing features:<br>
* I haven&#39;t done mapping tables for all the mixer scenarios yet. Where they<br>
aren&#39;t done you will see the individual sliders as you would in fso-mixer.<br>
* Sometimes when the state changes a setting will be shown as 0 when it is in<br>
fact non-zero. If anyone spots why this happens I would love to know!<br>
* The volume sliders cover the whole possible range, while most people<br>
probably only ever need the top half or third.<br>
* pyalsaaudio only accepts integer percentages when setting volumes, not the<br>
actual mixer hardware values used in the lookup tables. This may give some<br>
uneven steps in volume.<br>
* When individual alsa channels are shown they use the alsa names. This is<br>
fine if you know that the &#39;headphone&#39; mixer controls the speaker, and the<br>
&#39;speaker&#39; control is for the earpiece, let alone some of the more obscure<br>
names.<br>
<br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</blockquote></div><br>