{{newin|[[11.0]]|110|type=function}}
Decodes the audio and returns a [[SoundData]] object containing the decoded audio data.
== Function ==
=== Synopsis ===
<source lang="lua">
soundData = Decoder:decode( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|SoundData|soundData|Decoded audio data.}}
== See Also ==
* [[parent::Decoder]]
* [[Constructs::SoundData]]
* [[Source:queue]]
[[Category:Functions]]
{{#set:Description=Decodes a chunk of audio data to a SoundData.}}
== Other Languages ==
{{i18n|Decoder:decode}}