Sets whether the Source should loop.
== Function ==
=== Synopsis ===
<source lang="lua">
Source:setLooping( loop )
</source>
=== Arguments ===
{{param|boolean|loop|True if the source should loop, false otherwise.}}
=== Returns ===
Nothing.
== Examples ==
<source lang="lua">
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
</source>
== See Also ==
* [[parent::Source]]
[[Category:Functions]]
{{#set:Description=Sets whether the Source should loop.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Source:setLooping}}