Difference between revisions of "Decoder"

Line 1: Line 1:
 
An object which can gradually decode a sound file.
 
An object which can gradually decode a sound file.
 +
== Constructors ==
 +
{{#ask: [[Category:Functions]] [[Constructs::Decoder]] [[Since::<071]]
 +
| headers=hide
 +
| default=None.
 +
| ?Description
 +
}}
 
== Functions ==
 
== Functions ==
 
{{#ask: [[Category:Functions]] [[parent::Decoder||Object]] [[Since::<071]]
 
{{#ask: [[Category:Functions]] [[parent::Decoder||Object]] [[Since::<071]]

Revision as of 17:58, 25 March 2011

An object which can gradually decode a sound file.

Constructors

love.sound.newDecoderAttempts to find a decoder for the encoded sound data in the specified file.

Functions

Decoder:getBitsReturns the number of bits per sample.
Decoder:getChannelsReturns the number of channels in the stream.
Decoder:getSampleRateReturns the sample rate of the Decoder.
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.

Supertypes

Object

See Also


Other Languages