Module audio

Source
Expand description

Handles audio device detection and playback of sound effects and music

Modules§

ambience
Handles ambient non-positional sounds
channel
Distinct audio playback channels for music and sound effects
fader
Controls volume transitions for Audio Channels
music
Handles music playback and transitions
sfx
Manages individual sfx event system, listens for sfx events, and requests playback at the requested position and volume
soundcache
Handles caching and retrieval of decoded .ogg sfx sound data, eliminating the need to decode files on each playback

Structs§

ActiveChannels
AudioFrontend
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
AudioFrontendInner πŸ”’
Channels πŸ”’
Effects πŸ”’
ListenerInstance πŸ”’
Tracks πŸ”’
Volumes πŸ”’

Enums§

AudioCreationError πŸ”’

Functions§

to_decibels