Crate baal [−] [src]
baal (BAsic Audio Library) is build on top of rodio
it is still in early development
it allows to play three different kind of sounds:
- short effects like for shoots
- persistent effects like for fans and other ambiant sounds
- musics
due to rodio backend it support WAV and Vorbis audio format
there is no spatialisation
see the example and tests for usages
Modules
effect |
this module allow to play short and persistent sound effects |
music |
this module allow to play music |
Structs
Setting |
set musics, effects, volumes and audio player. |
Enums
InitError |
error possible on init |
Functions
close |
close the audio player, it can be init again. |
global_volume |
return the global volume |
init |
init the audio player |
reset |
reset audio from setting on the fly |
set_global_volume |
set the global volume |