Esempio n. 1
0
        /// Fades volume in/ out
        public void Fade()
        {
            switch (mMusicGenerator.mVolumeState)
            {
            case eVolumeState.fadingOut:
            case eVolumeState.fadedOutIdle:
                mMusicGenerator.VolumeFadeIn();
                break;

            case eVolumeState.fadingIn:
            case eVolumeState.idle:
                mMusicGenerator.VolumeFadeOut();
                break;

            default:
                break;
            }
        }