love.audio.resume

love.audio.resume Resumes all audio. Function Synopsis love.audio.resume( ) Arguments None. Returns Nothing. Function Synopsis love.audio.resume( source ) Arguments Source source The source on which to resume the playback. Returns Nothing. See Also love.audio

love.audio.play

love.audio.play Plays the specified Source. Function Synopsis love.audio.play( source ) Arguments Source source The Source to play. Returns Nothing. See Also love.audio Source:play

love.audio.pause

love.audio.pause Pauses currently played Sources. Function This function will pause all currently active Sources. Synopsis love.audio.pause( ) Arguments None. Returns Nothing. Function This function will only pause the specified Source. Synopsis love.audio.pause( source ) Arguments Source source The source on which to pause the playback Returns Nothing. See Also love.audio

love.audio.newSource

love.audio.newSource Creates a new Source from a filepath, File, Decoder or SoundData. Sources created from SoundData are always static. This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused! Function Synopsis source = love.audio.newSource( filename, type ) Arguments string filename The filepath to the audio file. SourceType type ("stream") Streaming or

love.audio.getVolume

love.audio.getVolume Returns the master volume. Function Synopsis volume = love.audio.getVolume( ) Arguments None. Returns number volume The current master volume See Also love.audio

love.audio.getVelocity

love.audio.getVelocity Returns the velocity of the listener. Function Synopsis x, y, z = love.audio.getVelocity( ) Arguments None. Returns number x The X velocity of the listener. number y The Y velocity of the listener. number z The Z velocity of the listener. See Also love.audio

love.audio.getSourceCount

love.audio.getSourceCount Available since LÖVE 0.9.0 It has been renamed from love.audio.getNumSources. Gets the current number of simultaneously playing sources. Function Synopsis numSources = love.audio.getSourceCount( ) Arguments None. Returns number numSources The current number of simultaneously playing sources. See Also love.audio

love.audio.getPosition

love.audio.getPosition Returns the position of the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources. Function Synopsis x, y, z = love.audio.getPosition( ) Arguments None. Returns number x The X position of the listener. number y The Y position of the listener. number z The Z position of the listener. See Also love.audio

love.audio.getOrientation

love.audio.getOrientation Returns the orientation of the listener. Function Synopsis fx, fy, fz, ux, uy, uz = love.audio.getOrientation( ) Arguments None. Returns number fx, fy, fz Forward vector of the listener orientation. number ux, uy, uz Up vector of the listener orientation. See Also love.audio

love.audio.getNumSources

love.audio.getNumSources Removed in LÖVE 0.9.0 It has been renamed to love.audio.getSourceCount. Gets the current number of simultaneously playing sources. Function Synopsis numSources = love.audio.getNumSources( ) Arguments None. Returns number numSources The current number of simultaneously playing sources. See Also love.audio