Share via


SoundState Enumeration

Current state (playing, paused, or stopped) of a SoundEffectInstance.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public enum SoundState

Members

  Member name Description
Paused The SoundEffectInstance is paused.
Playing The SoundEffectInstance is playing.
Stopped The SoundEffectInstance is stopped.

See Also

Reference

SoundEffectInstance Class
SoundEffectInstance.Play Method
SoundEffectInstance.Pause Method
SoundEffectInstance.Stop Method
Microsoft.Xna.Framework.Audio Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone