WaveRenderer.volumeSupported = clip
.isControlSupported(FloatControl.Type.VOLUME)
|| clip
.isControlSupported(FloatControl.Type.MASTER_GAIN);
clip.drain();
clip.close();
// workaround for Java 1.5
Mixer.Info[] mixers = AudioSystem.getMixerInfo();
for (int i = 0; i < mixers.length; i++) {