Difference between revisions of "Decoder:decode"
(New page, seemed to be missing up to this point.) |
|||
Line 1: | Line 1: | ||
{{newin|[[11.0]]|110|type=function}} | {{newin|[[11.0]]|110|type=function}} | ||
− | + | Decodes the audio and returns a [[SoundData]] object containing the decoded audio data. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | Decoder: | + | soundData = Decoder:decode( ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | + | None. | |
=== Returns === | === Returns === | ||
− | + | {{param|SoundData|soundData|Decoded audio data.}} | |
== See Also == | == See Also == | ||
* [[parent::Decoder]] | * [[parent::Decoder]] | ||
− | * [[Source: | + | * [[Constructs::SoundData]] |
+ | * [[Source:queue]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Decodes a chunk of audio data to a SoundData.}} |
== Other Languages == | == Other Languages == | ||
− | {{i18n|Decoder: | + | {{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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info