Class AudioSystem
The Audio System.
It creates an underlying instance of Audio
public class AudioSystem : GameSystemBase, IDisposable, ICollectorHolder, IGameSystemBase, IComponent, IReferencable, IUpdateable, IDrawable, IContentable, IAudioEngineProvider
- Inheritance
-
Audio
System
- Implements
- Inherited Members
- Extension Methods
Constructors
AudioSystem(IServiceRegistry)
Create an new instance of AudioSystem
Parameters
registry
IServiceRegistry The service registry in which to register the Audio
System services
Properties
AudioEngine
The underlying Audio
Property Value
- Audio
Engine The audio engine.
RequestedAudioDevice
Property Value
Methods
Destroy()
Disposes of object resources.
Initialize()
This method is called when the component is added to the game.
Remarks
This method can be used for tasks like querying for services the component needs and setting up non-graphics resources.
Update(GameTime)
This method is called when this game component is updated.
Parameters
gameTime
GameTime The current timing.