On Sat, 20 Mar 2010 00:00:48 +0800 Tom Haste <[email protected]> said:

> Howdy!
> 
> After tinkering with the Mixer theme to make it feel more organic, I came to
> the conclusion that the mixer scale is a off, so anything I do with the
> theme is still not that 'correct'. Most things that use volume sliders these
> days use a base 10 logarithm to follow the natural progression of the
> decibel scale. Obviously this doesnt work for 0 - 100 volume scales that
> alsa provides. I think pulse has a 'cubic' type of volume mixer available...
> but anyway.
> 
> http://www.dr-lex.be/info-stuff/volumecontrols.html
> This site basically demonstrates an easier, less cpu expensive way
> of mimicking the correct scale.
> 
> Also; widget that would be awesome for elementary = knobs. :) Easy with edje
> map, right?

it'd be possible - sure. in edje map+embryo could do this no problems. if the
thing uses a dragable it can be done - make the dragable invisible and just
have the embryo + map etc. control the dragable (and listen to dragable value
changes coming from code).

as for logarithmic stuff - it isnt edje's job to do that - if anything it's the
mixer code - though we can argue that it should be alsa's job to present a
universal control that is always the same way (if hw control is linear or
logarithmic - the driver knows and figures it out).


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to