Microsoft.Xna.Framework.Audio Namespace
XNA Game Studio 4.0
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. |
|
DynamicSoundEffectInstance | Provides properties, methods, and events for play back of the audio buffer. |
|
InstancePlayLimitException | The exception that is thrown when there is an attempt to play more than 16 SoundEffectInstance sounds concurrently. |
|
Microphone | Provides properties, methods, and fields and events for capturing audio data with microphones. |
|
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. |
|
NoMicrophoneConnectedException | The exception that is thrown when Microphone API calls are made on a disconnected microphone. |
|
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 | |
|---|---|---|
|
AudioChannels | Defines the number of channels in the audio data. |
|
AudioStopOptions | Controls how Cue objects should stop when Stop is called. |
|
MicrophoneState | Current state of the Microphone audio capture (started or stopped). |
|
SoundState | Current state (playing, paused, or stopped) of a SoundEffectInstance. |
Another class in Xact
Cue also appears to be under the Microsoft.Xna.Framework.Xact assembly. When I added that reference to my project in order to get the classes that brcaswell mentioned, I also got the Cue class.
- 2/23/2012
- zephyrhumar