This documentation is archived and is not being maintained.

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.

Public ClassAudioEmitterRepresents a 3D audio emitter.
Public ClassAudioEngineRepresents the audio engine. Applications use the methods of the audio engine to instantiate and manipulate core audio objects.
Public ClassAudioListenerRepresents a 3D audio listener.
Public ClassCueDefines methods for managing the playback of sounds.
Public ClassInstancePlayLimitExceptionThe exception that is thrown when there is an attempt to play more than 16 SoundEffectInstance sounds concurrently.
Public ClassNoAudioHardwareExceptionThe 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.
Public ClassSoundBankRepresents a sound bank, which is a collection of cues.
Public ClassSoundEffectProvides a loaded sound resource.
Public ClassSoundEffectInstanceProvides a single playing, paused, or stopped instance of a SoundEffect sound.
Public ClassWaveBankRepresents a wave bank, which is a collection of wave files.

Public StructureAudioCategoryRepresents a particular category of sounds.
Public StructureRendererDetailRepresents an audio renderer, which is a device that can render audio to a user.

Public EnumerationAudioStopOptionsControls how Cue objects should stop when Stop is called.
Public EnumerationSoundStateCurrent state (playing, paused, or stopped) of a SoundEffectInstance.