Exemple #1
0
        internal override void DestroyAudioEngine()
        {
            if (nbOfAudioEngineInstances == 0)
            {
                SoundEffectInstance.StaticDestroy();
            }

            mediaPlayer.Release();
        }
Exemple #2
0
        private void DestroyImpl()
        {
            if (nbOfAudioEngineInstances == 0)
            {
                SoundEffectInstance.StaticDestroy();
            }

            mediaPlayer.Release();
        }