SoundEffectInstance.IsLooped Property
Gets a value that indicates whether looping is enabled for the SoundEffectInstance.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public virtual bool IsLooped { get; set; }
Property Value
true if the SoundEffectInstance has looping enabled; otherwise, false.
Remarks
If you want to make a sound play continuously until stopped, be sure to set IsLooped to true before you call SoundEffect.Play.
See Also
Tasks
Reference
SoundEffectInstance Class
SoundEffectInstance Members
Microsoft.Xna.Framework.Audio Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone