public void fade ( int duration , float endVolume , boolean stopAfterFade ) { this . stopAfterFade = stopAfterFade ; fadeStartGain = volume ; fadeEndGain = endVolume ; fadeDuration = duration ; fadeTime = duration ; }
Fade this music to the volume specified