Namespace BSGameLib.Game.Audio
Classes
- AudioEventDefinition
An audio event a game registers with IAudioService, by its id.
- SdlAudioService
The default audio service, built on SDL3_mixer. It opens the audio device when the first sound plays.
Structs
- AudioEventLogEntry
One change to an audio event, as listed in RecentEvents.
- AudioEventOptions
Overrides for one PostEvent(string, AudioEventOptions?) call. Null fields keep the event's own values.
- MusicPosition
Where the music is, as CurrentMusicPosition: which part, how far into it, and how long it is.
Interfaces
- IAudioService
Plays audio events that a game registers by id: sound effects and music, with volumes and fades.
Enums
- AudioEventAction
What happened to an audio event, as recorded in RecentEvents.
- AudioEventCategory
The kind of an audio event. It decides how the event plays and which volume it follows.
- MusicPhase
Which part of the music is playing, as CurrentMusicPhase.