Difference between revisions of "Decoder"
m (1 revision: Imported docs from potato.) |
m (Add PrettyDeprecated) |
||
(9 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | + | An object which can gradually decode a sound file. | |
− | + | == Constructors == | |
+ | {{#ask: [[Category:Functions]] [[Constructs::Decoder]] [[Concept:Current]] | ||
+ | | headers=hide | ||
+ | | default=None. | ||
+ | | format=template | ||
+ | | template=ListingFields | ||
+ | | introtemplate=ListingIntro | ||
+ | | outrotemplate=ListingOutro | ||
+ | | ?Description | ||
+ | | ?PrettySince | ||
+ | | ?PrettyRemoved | ||
+ | | ?PrettyDeprecated | ||
+ | }} | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::Decoder]] | + | {{#ask: [[Category:Functions]] [[parent::Decoder||Object]] [[Concept:Current]] |
| headers=hide | | headers=hide | ||
+ | | format=template | ||
+ | | template=ListingFields | ||
+ | | introtemplate=ListingIntro | ||
+ | | outrotemplate=ListingOutro | ||
| ?Description | | ?Description | ||
+ | | ?PrettySince | ||
+ | | ?PrettyRemoved | ||
+ | | ?PrettyDeprecated | ||
}} | }} | ||
+ | == Supertypes == | ||
+ | * [[parent::Object]] | ||
== See Also == | == See Also == | ||
* [[parent::love.sound]] | * [[parent::love.sound]] | ||
[[Category:Types]] | [[Category:Types]] | ||
− | {{#set:Description=}} | + | {{#set:Description=An object which can gradually decode a sound file.}} |
+ | {{#set:Since=000}} | ||
+ | == Other Languages == | ||
+ | {{i18n|Decoder}} |
Latest revision as of 12:56, 19 June 2019
An object which can gradually decode a sound file.
Constructors
love.sound.newDecoder | Attempts to find a decoder for the encoded sound data in the specified file. |
Functions
Decoder:clone | Create new copy of existing decoder. | 11.3 | |
Decoder:decode | Decodes a chunk of audio data to a SoundData. | 11.0 | |
Decoder:getBitDepth | Returns the number of bits per sample. | 0.9.0 | |
Decoder:getBits | Returns the number of bits per sample. | 0.9.0 | |
Decoder:getChannelCount | Returns the number of channels in the stream. | 11.0 | |
Decoder:getChannels | Returns the number of channels in the stream. | 11.0 | |
Decoder:getDuration | Gets the duration of the sound file. | 0.10.0 | |
Decoder:getSampleRate | Returns the sample rate of the Decoder. | ||
Decoder:seek | Sets the currently playing position of the Decoder. | 11.0 | |
Object:release | Immediately destroys the object's Lua reference. | 11.0 | |
Object:type | Gets the type of the object as a string. | ||
Object:typeOf | Checks whether an object is of a certain type. |
Supertypes
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