Difference between revisions of "Decoder:decode"

m (Why it doesn't get displayed?)
(Undo revision 23657 by Raidho36 (talk))
 
(3 intermediate revisions by 2 users not shown)
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 ===
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}}

Latest revision as of 06:16, 8 October 2019

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