[etoys-dev] Sound volume control in navigator bar

Bert Freudenberg bert at freudenbergs.de
Thu Feb 23 07:36:22 EST 2012

On 22.02.2012, at 21:49, karl ramberg wrote:

> I added a class variable to SoundPlayer called Volume and just changed
> the SoundPlayer accessors.
> This works really well on Windows XP.
> Could someone try this on other platforms ?
> http://source.squeak.org/etoysinbox/Sound-kfr.22.mcz
> http://source.squeak.org/etoysinbox/Sugar-kfr.19.mcz
> Karl

Works on Mac, and really should work everywhere since it's done all in-image.

For performance, you should make sure fullVol is an integer.

Also, the volume slider in the tool bar feels odd. Maybe it should appear in a fixed position below the button and be larger? 

- Bert -

More information about the etoys-dev mailing list