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 ClassDynamicSoundEffectInstance Provides properties, methods, and events for play back of the audio buffer.
Public ClassInstancePlayLimitExceptionThe exception that is thrown when there is an attempt to play more than 16 SoundEffectInstance sounds concurrently.
Public ClassMicrophoneProvides properties, methods, and fields and events for capturing audio data with microphones.
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 ClassNoMicrophoneConnectedExceptionThe exception that is thrown when Microphone API calls are made on a disconnected microphone.
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 EnumerationAudioChannels Defines the number of channels in the audio data.
Public EnumerationAudioStopOptionsControls how Cue objects should stop when Stop is called.
Public EnumerationMicrophoneStateCurrent state of the Microphone audio capture (started or stopped).
Public EnumerationSoundStateCurrent state (playing, paused, or stopped) of a SoundEffectInstance.