Microsoft.Xna.Framework.Audio Namespace
Dans cet article
Contains low-level application programming interface (API) methods that can load and manipulate XACT-created project and content files to play audio.
Classes
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 the platform specific maximum 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.
Structures
AudioCategory
Represents a particular category of sounds.
RendererDetail
Represents an audio renderer, which is a device that can render audio to a user.
Enumerations
See Also
Tasks
Playing a Sound
Playing a Song
Streaming a Sound (XACT)
Adding a Sound File (XACT)
Playing Sounds from an XACT Project
Playing Background Music (XACT)
Pausing a Sound (XACT)
Adjusting Volume (XACT)
Applying a 3D Positional Effect to a Cue (XACT)
Applying 3D Audio Effects (XACT)
Concepts
Sounds Overview
Audio Content Catalog at App Hub Online