Available since LÖVE 0.9.1
This function is not supported in earlier versions.
Creates an identical copy of the Source in the stopped state.
Static Sources will use significantly less memory and take much less time to be created if Source:clone is used to create them instead of love.audio.newSource, so this method should be preferred when making multiple Sources which play the same sound.
source = Source:clone( )
Cloned Sources inherit all the set-able state of the original Source, but they are initialized stopped.
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.