Module veloren_voxygen::audio
source Β· Expand description
Handles audio device detection and playback of sound effects and music
Modules§
- Handles ambient non-positional sounds
- Distinct audio playback channels for music and sound effects
- Controls volume transitions for Audio Channels
- Handles music playback and transitions
- Manages individual sfx event system, listens for sfx events, and requests playback at the requested position and volume
- Handles caching and retrieval of decoded
.ogg
sfx sound data, eliminating the need to decode files on each playback
Structs§
- Holds information about the system audio devices and internal channels used for sfx and music playback. An instance of
AudioFrontend
is used by VoxygenβsGlobalState
to provide access to devices and playback control in-game - AudioFrontendInner π
- Channels π
- Effects π
- ListenerInstance π
- SoundPlayer π
- Tracks π
- Volumes π
Enums§
- AudioCreationError π