Microsoft.Xna.Framework.Audio Namespace
XNA Game Studio 3.1
Contains low-level application programming interface (API) methods that can load and manipulate XACT-created project and content files to play audio.
| Name | Description | |
|---|---|---|
![]() | AudioEmitter | Represents a 3D audio emitter. |
![]() | 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. |
![]() | Cue | Defines methods for managing the playback of sounds. |
![]() | InstancePlayLimitException | The exception that is thrown when there is an attempt to play more than 16 SoundEffectInstance sounds concurrently. |
![]() | NoAudioHardwareException | The exception that is thrown when no audio hardware is present, or when audio hardware is installed, but the device drivers for the audio hardware are not present or enabled. |
![]() | SoundBank | Represents a sound bank, which is a collection of cues. |
![]() | SoundEffect | Provides a loaded sound resource. |
![]() | SoundEffectInstance | Provides a single playing, paused, or stopped instance of a SoundEffect sound. |
![]() | WaveBank | Represents a wave bank, which is a collection of wave files. |
| 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. |
| Name | Description | |
|---|---|---|
![]() | AudioStopOptions | Controls how Cue objects should stop when Stop is called. |
![]() | SoundState | Current state (playing, paused, or stopped) of a SoundEffectInstance. |
Tasks
How To: Play a Sound
How To: Play a Song
How To: Stream a Sound Using XACT
How To: Add a Sound File to Your Game Using XACT
How To: Play a Sound Using XACT
How To: Specify Background Music Using XACT
How To: Stop or Pause a Sound Using XACT
How To: Change Sound Volume Levels Using XACT
How To: Apply Basic 3D Positional Effects to a Cue
How To: Apply Attenuation and Doppler 3D Audio Effects
How To: Play a Song
How To: Stream a Sound Using XACT
How To: Add a Sound File to Your Game Using XACT
How To: Play a Sound Using XACT
How To: Specify Background Music Using XACT
How To: Stop or Pause a Sound Using XACT
How To: Change Sound Volume Levels Using XACT
How To: Apply Basic 3D Positional Effects to a Cue
How To: Apply Attenuation and Doppler 3D Audio Effects


