Sound
Can load the following formats: WAVE, OGG, AIFF, RIFF and VOC. Sound is fully
expanded into memory when the game loads. This means that if you load a
5MB compressed .ogg file as a sound, it would consume ~50MB RAM when fully
decompressed. Consider using Music in such cases.
Note that the Sound object does not contain functions to play itself back; this happens via functions in love.audio.
Note that the Sound object does not contain functions to play itself back; this happens via functions in love.audio.
Functions
setVolume( volume ) | Sets the volume the sound should be played at. |