Microsoft.Xna.Framework.Audio Namespace
Contains low-level application programming interface (API) methods that can load and manipulate XACT-created project and content files to play audio.
Classes
Name | Description | |
---|---|---|
AudioEmitter | Represents a 3D audio emitter. This object, used in combination with an AudioListener and the Cue.Apply3D method, can simulate 3D audio effects for a given Cue. | |
AudioEngine | Represents the audio engine. Applications use the methods of the audio engine to instantiate and manipulate core audio objects. | |
AudioListener | Represents a 3D audio listener. This object, used in combination with an AudioEmitter and the Cue.Apply3D method, can simulate 3D audio effects for a given Cue. | |
Cue | Defines methods for managing the playback of sounds. | |
InstancePlayLimitException | Exception thrown when a sound or cue has reached an instance limit and can not be played. | |
NoAudioHardwareException | The exception that is thrown when no audio hardware is present, or when audio hardware is installed but device drivers for the audio hardware are not present or enabled. | |
SoundBank | Represents a sound bank, which is a collection of cues. | |
WaveBank | Represents a wave bank, which is a collection of wave files. |
Structures
Name | Description | |
---|---|---|
AudioCategory | Represents a particular category of sounds. | |
RendererDetail | Represents an audio renderer, which is a device that can render audio to a user. |
Enumerations
Name | Description | |
---|---|---|
AudioStopOptions | Controls how Cue objects should stop when Stop is called. |
See Also
Tasks
How to: Add a Sound File to Your Game Using XACT
How to: Play a Sound
How to: Stop or Pause a Sound
How to: Change Sound Volume Levels