Difference between revisions of "Decoder:decode"

(Created page with "{{newin|11.0|110|type=function}} Decodes the audio and return SoundData object containing the decoded audio data. == Function == === Synopsis === <source lang="lua"> s...")
 
m (Why it doesn't get displayed?)
Line 4: Line 4:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
soundData = Decoder:decode()
+
soundData = Decoder:decode( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
Line 16: Line 16:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Decode audio data to PCM.}}
 
{{#set:Description=Decode audio data to PCM.}}
{{#set:Since=110}}
 
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Decoder:decode}}
 
{{i18n|Decoder:decode}}

Revision as of 13:16, 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