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

Other Languages