Module baal::effect [] [src]

this module allow to play short and persistent sound effects

be careful that set_volume, set_listener, set_distance_model only affect future short sound effects

Modules

persistent

this module allow to play persistent sound effects

short

this module allow to play short sound effects

Enums

DistanceModel

distance model, used to compute sound effects volumes.

Functions

is_paused

return whereas effects are paused

listener

return the position of the listener

pause

pause all effects

resume

resume all effects

set_distance_model

set the distance model

set_listener

set the position of the listener

set_volume

set the volume of sound effects take effect for future sounds effects only

volume

return the volume of sound effects