Difference between revisions of "Decoder"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | An object which can gradually decode a sound file. | |
== Functions == | == Functions == | ||
{{#ask: [[Category:Functions]] [[parent::Decoder]] | {{#ask: [[Category:Functions]] [[parent::Decoder]] | ||
Line 9: | Line 9: | ||
* [[parent::love.sound]] | * [[parent::love.sound]] | ||
[[Category:Types]] | [[Category:Types]] | ||
− | {{#set:Description=}} | + | {{#set:Description=An object which can gradually decode a sound file.}} |
Revision as of 16:17, 14 February 2010
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. |