AudioSystem Class
Namespace: Stride.AudioAssembly: Stride.Engine.dll
The Audio System. It creates an underlying instance of AudioEngine.
Derived from AudioSystem:
public class AudioSystem : GameSystemBase, IDisposable, ICollectorHolder, IGameSystemBase, IComponent, IReferencable, IUpdateable, IDrawable, IContentable, IAudioEngineProvider
Name | Description | |
---|---|---|
Constructors | ||
AudioSystem(IServiceRegistry) | Create an new instance of AudioSystem |
|
Properties | ||
AudioEngine | The underlying AudioEngine. |
|
RequestedAudioDevice | ||
Methods | ||
Destroy() | ||
Initialize() | ||
Update(GameTime) |
Constructors
AudioSystem(IServiceRegistry)
Create an new instance of AudioSystem
public AudioSystem(IServiceRegistry registry)
Parameters
Type | Name | Description |
---|---|---|
IServiceRegistry | registry | The service registry in which to register the AudioSystem services |
Properties
AudioEngine
The underlying AudioEngine.
public AudioEngine AudioEngine { get; }
Property Value
Type | Description |
---|---|
AudioEngine | The audio engine. |
RequestedAudioDevice
public AudioDevice RequestedAudioDevice { get; set; }
Property Value
Type | Description |
---|---|
AudioDevice |
Methods
Destroy()
protected override void Destroy()
Overrides
Initialize()
public override void Initialize()
Overrides
Update(GameTime)
public override void Update(GameTime gameTime)
Parameters
Type | Name | Description |
---|---|---|
GameTime | gameTime |