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’s GlobalState to provide access to devices and playback control in-game

Functions