[GREENFOOT-334] setVolume plays part of the sound
Try creating a {{GreenfootSound}}, then do:
{noformat} sound.setVolume(0); {noformat}
I hear a small chirp (on Windows 7) that is the opening few milliseconds of the sound. If you have lots of objects that create a GreenfootSound in the constructor and make this call (the value of the volume is irrelevant), you will hear a whole sequence of chirps (of course, you need a sound that does not have a chunk of silence at the beginning to notice this effect).
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 2.1.1