Microsoft.Xna.Framework.Audio.SoundEffectInstance.PlatformGetState C# (CSharp) Méthode

PlatformGetState() private méthode

private PlatformGetState ( ) : SoundState
Résultat SoundState
        private SoundState PlatformGetState()
        {
            // Android SoundPool can't tell us when a sound is finished playing.
            // TODO: Remove this code when OpenAL for Android is implemented
			if (streamId != 0 && IsLooped)
            {
                // Looping sounds use our stored state
                return soundState;
            }
            else
            {
                // Non looping sounds always return Stopped
                return SoundState.Stopped;
            }
        }