SoundEffect Methods

Public MethodCreateInstance Creates a new SoundEffectInstance for this SoundEffect.
Public MethodDisposeReleases the resources used by the SoundEffect.
Public MethodEquals(Inherited from Object.)
Public Method StaticFromStreamCreates a SoundEffect object based on the specified data stream.
Public MethodGetHashCode(Inherited from Object.)
Public Method StaticGetSampleDurationReturns the sample duration based on the specified sample size and sample rate.
Public Method StaticGetSampleSizeInBytesReturns the size of the audio sample based on duration, sample rate, and audio channels.
Public MethodGetType(Inherited from Object.)
Public MethodPlayOverloaded. Plays a sound.
Public MethodToString(Inherited from Object.)

Protected MethodFinalize(Inherited from Object.)
Protected MethodMemberwiseClone(Inherited from Object.)

Community Additions