Sets whether the Source should loop.
Source:setLooping( loop )
boolean loop
Nothing.
function love.load() music = love.audio.newSource("music_loop.wav") music:setLooping(true) music:play() -- Music will now play forever, until stopped or paused. end
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Source:setLooping