Looping sound?
Posted: Thu Dec 30, 2010 7:02 am
How would i loop a sound after it's played? Here is what i have for audio:
It plays the sound, but doesn't loop it again.
Code: Select all
src1 = love.audio.newSource("har'money.mp3")
src1:setVolume(0.9)
love.audio.play(src1)
numSources = love.audio.getNumSources()
if numSources == 0 then
love.audio.play(src1)
end