Module
love.audio
The audio module is currently a wrapper around SDL_mixer, and has very limited features as of yet.
Types
Sound A sound effect.
Music Streaming sound.
Functions
newSound( filename ) Loads a sound file.
newMusic( filename ) Loads a music file.
play( sound ) Plays a sound.
play( sound, loop ) Plays a sound.
play( music ) Plays a sound.
play( music, loop ) Plays a sound.
pause( ) Pauses all audio playback.
resume( ) Resumes all audio playback.
stop( ) Stops all audio playback.
isPlaying( ) Checks whether (any) audio is playing or not.
isPaused( ) Checks whether audio playback is paused or not.
setChannels( channels ) Sets the amount of channels for sounds.
setMode( frequency, mode, buffersize ) Sets the mode for audio mixing and playback.
setVolume( volume ) Changes the master volume.
Copyright © 2006-2008 LÖVE Development Team.