SoundBank Class (Microsoft.Xna.Framework.Audio)
Represents a collection of Cues.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- C#
- VB
- F#
public class SoundBank : IDisposable
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The SoundBank type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
IsDisposed | Is true if the SoundBank has been disposed. | ||
IsInUse | Is true if the SoundBank has any live Cues in use. |
Platforms | Name | Description | |
---|---|---|---|
Dispose | Disposes the SoundBank. (Implements IDisposable.Dispose().) | ||
Finalize | (Overrides object.Finalize().) | ||
GetCue | Returns a pooled Cue object. | ||
PlayCue(string) | Plays a cue. | ||
PlayCue(string, AudioListener, AudioEmitter) | Plays a cue with static 3D positional information. |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web