Difference between revisions of "Decoder:decode"

m (Why it doesn't get displayed?)
m (Technically it was true, that it decoded to PCM, but this is more clear to users.)
Line 15: Line 15:
 
* [[Source:queue]]
 
* [[Source:queue]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Decode audio data to PCM.}}
+
{{#set:Description=Decodes a chunk of audio data to a SoundData.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Decoder:decode}}
 
{{i18n|Decoder:decode}}

Revision as of 13:22, 7 April 2018

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

Decodes the audio and return SoundData object containing the decoded audio data.

Function

Synopsis

soundData = Decoder:decode( )

Arguments

None.

Returns

SoundData soundData
Decoded audio data.

See Also

Other Languages