DynamicSoundEffectInstance Members
The following tables list the members exposed by the DynamicSoundEffectInstance type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
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 | |
---|---|---|
![]() |
IsDisposed | (Inherited from SoundEffectInstance.) |
![]() |
IsLooped | Indicates whether the audio playback of the DynamicSoundEffectInstance object is looped. |
![]() |
Pan | (Inherited from SoundEffectInstance.) |
![]() |
PendingBufferCount | Returns the number of audio buffers in the queue awaiting playback. |
![]() |
Pitch | (Inherited from SoundEffectInstance.) |
![]() |
State | (Inherited from SoundEffectInstance.) |
![]() |
Volume | (Inherited from SoundEffectInstance.) |
Public Methods
Name | Description | |
---|---|---|
![]() |
Apply3D | (Overloaded. Inherited from SoundEffectInstance.) |
![]() ![]() |
Dispose | Overloaded. Immediately releases the unmanaged resources used by this object. |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetSampleDuration | Returns the sample duration based on the specified size of the audio buffer. |
![]() |
GetSampleSizeInBytes | Returns the size of the audio buffer required to contain audio samples based on the specified duration. |
![]() |
GetType | (Inherited from Object.) |
![]() |
Pause | (Inherited from SoundEffectInstance.) |
![]() |
Play | Begins or resumes audio playback. |
![]() |
Resume | (Inherited from SoundEffectInstance.) |
![]() |
Stop | (Overloaded. Inherited from SoundEffectInstance.) |
![]() |
SubmitBuffer | Overloaded. Submits an audio buffer for playback. |
![]() |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Dispose | (Inherited from SoundEffectInstance.) |
![]() |
Finalize | (Inherited from SoundEffectInstance.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
Public Events
Name | Description | |
---|---|---|
![]() |
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