Decoder:clone

Available since LÖVE 11.3
This function is not supported in earlier versions.

Creates a new copy of current decoder.

The new decoder will start decoding from the beginning of the audio stream.

Function

Synopsis

decoder = Decoder:clone( )

Arguments

None.

Returns

Decoder decoder
New copy of the decoder.

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Decoder:clone