public float getMinGain() {
        float gainMin = -9999.0f;
        if (audioDevice instanceof JavaSoundAudioDevice) {
            JavaSoundAudioDevice jsAudio = (JavaSoundAudioDevice) audioDevice;
            gainMin = jsAudio.getMinGain();
        }
        return gainMin;
    }