Provides a loaded sound resource. You can play multiple instances of the by calling Play.
Assembly: Microsoft.Xna.Framework (in Microsoft.Xna.Framework.dll)
Thetype exposes the following members.
|SoundEffect(Byte, Int32, AudioChannels)||Initializes a new instance of based on an audio buffer, sample rate, and number of audio channels.|
|SoundEffect(Byte, Int32, Int32, Int32, AudioChannels, Int32, Int32)||Initializes a new instance of with specified parameters such as audio sample rate, channels, looping criteria, and a buffer to hold the audio.|
|CreateInstance||Creates a new SoundEffectInstance for this .|
|Dispose||Releases the resources used by the .|
|FromStream||Creates a object based on the specified data stream.|
|GetSampleDuration||Returns the sample duration based on the specified sample size and sample rate.|
|GetSampleSizeInBytes||Returns the size of the audio sample based on duration, sample rate, and audio channels.|
|Play()||Plays a sound.|
|Play(Single, Single, Single)||Plays a sound based on specified volume, pitch, and panning.|
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.