Provides an audio interface to play sounds.
Creates a new audio Source from an audio file. Supported file formats are .wav and .ogg.
type
can be "static" or "stream"
source = love.audio.newSource(filename, type)
Plays the specified Source.
love.audio.play(source)
Stops playing the specified Source.
love.audio.stop(source)
To pause one or more sources:
paused_sources = love.audio.pause(source, ...)
To pause all sources:
paused_sources = love.audio.pause()
Returns the master volume.
volume = love.audio.getVolume()
Sets the master volume.
love.audio.setVolume(volume)
Returns the sources currently being played.
sources = love.audio.getActiveSources()
Gets the current number of simultaneously playing sources.
num_active = love.audio.getActiveSourcesCount()