首页 > Computer > XNA > Microsoft.Xna.Framework.Audio Namespace
2009
02-17

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.

Name Description
Public Class AudioEmitter Represents a 3D audio emitter. This object, used in combination with an AudioListener and the Cue.Apply3D method, can simulate 3D audio effects for a given Cue.
Public Class AudioEngine Represents the audio engine. Applications use the methods of the audio engine to instantiate and manipulate core audio objects.
Public Class AudioListener Represents a 3D audio listener. This object, used in combination with an AudioEmitter and the Cue.Apply3D method, can simulate 3D audio effects for a given Cue.
Public Class Cue Defines methods for managing the playback of sounds.
Public Class InstancePlayLimitException The exception that is thrown when there is an attempt to play more than 16 SoundEffectInstance sounds concurrently.
Public Class NoAudioHardwareException The exception that is thrown when no audio hardware is present, or when audio hardware is installed but device drivers for the audio hardware are not present or enabled.
Public Class SoundBank Represents a sound bank, which is a collection of cues.
Public Class SoundEffect Provides a loaded sound resource.
Public Class SoundEffectInstance Provides a single playing, paused, or stopped instance of a SoundEffect sound.
Public Class WaveBank Represents a wave bank, which is a collection of wave files.

Name Description
Public Structure AudioCategory Represents a particular category of sounds.
Public Structure RendererDetail Represents an audio renderer, which is a device that can render audio to a user.

Name Description
Public Enumeration AudioStopOptions Controls how Cue objects should stop when Stop is called.
Public Enumeration SoundState Current state (playing, paused, or stopped) of a SoundEffectInstance.

最后编辑:
作者:wy182000
这个作者貌似有点懒,什么都没有留下。

留下一个回复