Difference between revisions of "Decoder:decode"

m (Technically it was true, that it decoded to PCM, but this is more clear to users.)
m (grammar)
Line 1: Line 1:
 
{{newin|[[11.0]]|110|type=function}}
 
{{newin|[[11.0]]|110|type=function}}
Decodes the audio and return [[SoundData]] object containing the decoded audio data.
+
Decodes the audio and returns a [[SoundData]] object containing the decoded audio data.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 13:53, 19 April 2018

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

Decodes the audio and returns a SoundData object containing the decoded audio data.

Function

Synopsis

soundData = Decoder:decode( )

Arguments

None.

Returns

SoundData soundData
Decoded audio data.

See Also

Other Languages