Difference between revisions of "Decoder"
m |
|||
Line 5: | Line 5: | ||
| ?Description | | ?Description | ||
}} | }} | ||
+ | {{#ask: [[Category:Functions]] [[parent::Object]] | ||
+ | | headers=hide | ||
+ | | ?Description | ||
+ | }} | ||
+ | == Supertypes == | ||
+ | [[Object]] | ||
== See Also == | == See Also == | ||
* [[parent::love.sound]] | * [[parent::love.sound]] |
Revision as of 01:59, 13 February 2011
An object which can gradually decode a sound file.
Functions
Decoder:clone | Create new copy of existing decoder. |
Decoder:decode | Decodes a chunk of audio data to a SoundData. |
Decoder:getBitDepth | Returns the number of bits per sample. |
Decoder:getBits | Returns the number of bits per sample. |
Decoder:getChannelCount | Returns the number of channels in the stream. |
Decoder:getChannels | Returns the number of channels in the stream. |
Decoder:getDuration | Gets the duration of the sound file. |
Decoder:getSampleRate | Returns the sample rate of the Decoder. |
Decoder:seek | Sets the currently playing position of the Decoder. |
Object:release | Immediately destroys the object's Lua reference. |
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