Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    AudioSystem Class

    Namespace: Stride.Audio
    Assembly: Stride.Engine.dll

    The Audio System. It creates an underlying instance of AudioEngine.

    System.Object → DisposeBase → ComponentBase → GameSystemBase → AudioSystem
    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)
    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Methods


    Destroy()

    protected override void Destroy()
    Overrides
    ComponentBase.Destroy()

    Initialize()

    public override void Initialize()
    Overrides
    GameSystemBase.Initialize()

    Update(GameTime)

    public override void Update(GameTime gameTime)
    Parameters
    Type Name Description
    GameTime gameTime
    Overrides
    GameSystemBase.Update(GameTime)

    Inherited Members

    GameSystemBase.Game
    GameSystemBase.Services
    GameSystemBase.Content
    GameSystemBase.GraphicsDevice
    GameSystemBase.DrawOrderChanged
    GameSystemBase.VisibleChanged
    GameSystemBase.BeginDraw()
    GameSystemBase.Draw(GameTime)
    GameSystemBase.EndDraw()
    GameSystemBase.Visible
    GameSystemBase.DrawOrder
    GameSystemBase.InitGraphicsDeviceService()
    GameSystemBase.EnabledChanged
    GameSystemBase.UpdateOrderChanged
    GameSystemBase.Enabled
    GameSystemBase.UpdateOrder
    GameSystemBase.OnDrawOrderChanged(Object, EventArgs)
    GameSystemBase.OnUpdateOrderChanged(Object, EventArgs)
    GameSystemBase.IContentable.LoadContent()
    GameSystemBase.IContentable.UnloadContent()
    GameSystemBase.LoadContent()
    GameSystemBase.UnloadContent()
    ComponentBase.Tags
    ComponentBase.Name
    ComponentBase.ICollectorHolder.Collector
    ComponentBase.OnNameChanged()
    ComponentBase.ToString()
    DisposeBase.Dispose()
    DisposeBase.IsDisposed
    DisposeBase.IReferencable.ReferenceCount
    DisposeBase.IReferencable.AddReference()
    DisposeBase.IReferencable.Release()
    DisposeBase.OnAddReference()
    DisposeBase.OnReleaseReference()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation