DynamicSoundEffectInstance Members

The following tables list the members exposed by the DynamicSoundEffectInstance type.

Public Constructors

Name Description
Public Method DynamicSoundEffectInstance Initializes a new instance of this class, which creates a dynamic sound effect based on the specified sample rate and audio channel.

Public Properties

Name Description
Public Property IsDisposed (Inherited from SoundEffectInstance.)
Public Property IsLooped Indicates whether the audio playback of the DynamicSoundEffectInstance object is looped.
Public Property Pan (Inherited from SoundEffectInstance.)
Public Property PendingBufferCount Returns the number of audio buffers in the queue awaiting playback.
Public Property Pitch (Inherited from SoundEffectInstance.)
Public Property State (Inherited from SoundEffectInstance.)
Public Property Volume (Inherited from SoundEffectInstance.)

Public Methods

Name Description
Public Method Apply3D (Overloaded. Inherited from SoundEffectInstance.)
Public Method Static Dispose Overloaded. Immediately releases the unmanaged resources used by this object.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetSampleDuration Returns the sample duration based on the specified size of the audio buffer.
Public Method GetSampleSizeInBytes Returns the size of the audio buffer required to contain audio samples based on the specified duration.
Public Method GetType (Inherited from Object.)
Public Method Pause (Inherited from SoundEffectInstance.)
Public Method Play Begins or resumes audio playback.
Public Method Resume (Inherited from SoundEffectInstance.)
Public Method Stop (Overloaded. Inherited from SoundEffectInstance.)
Public Method SubmitBuffer Overloaded. Submits an audio buffer for playback.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Dispose (Inherited from SoundEffectInstance.)
Protected Method Finalize (Inherited from SoundEffectInstance.)
Protected Method MemberwiseClone (Inherited from Object.)

Public Events

Name Description
Public Event BufferNeeded Event that occurs when the number of audio capture buffers awaiting playback is less than or equal to two.

See Also

Reference

DynamicSoundEffectInstance Class
Microsoft.Xna.Framework.Audio Namespace