Bagikan melalui


SoundBank Members

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

Public Constructors

Name Description
Public Method SoundBank Initializes a new instance of this class using a sound bank from file.

Public Properties

Name Description
Public Property IsDisposed Gets a value that indicates whether the object is disposed.
Public Property IsInUse Returns whether the sound bank is currently in use.

Public Methods

Name Description
Public Method Dispose Overloaded. Immediately releases the unmanaged resources used by this object.
Public Method Equals (Inherited from Object.)
Public Method GetCue Gets a cue from the sound bank.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method PlayCue Overloaded. Plays a cue.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.
Protected Method MemberwiseClone (Inherited from Object.)

Public Events

Name Description
Public Event Disposing Occurs when Dispose is called or when this object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime (CLR).

See Also

Tasks

Playing Sounds from an XACT Project
Pausing a Sound (XACT)

Concepts

Sounds Overview

Reference

SoundBank Class
Microsoft.Xna.Framework.Audio Namespace