Module nze_game_sdl::audio
source · Expand description
Used for playing music and sound effects
Make an AudioManager
to inititalize sdl2_mixer.
AudioManager
holds a struct for controlling music, and has functions for sound effect loading and playback.
Structs
- Holds audio resources and controls playback of audio
- Load and play Music, created and owned by AudioManager
- Load and play SoundEffect, created and owned by AudioManager