Decoder

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:getBitDepth Returns the number of bits per sample. Added since 0.9.0
Decoder:getBits Returns the number of bits per sample. Removed in 0.9.0
Decoder:getChannels Returns the number of channels in the stream.
Decoder:getDuration Gets the duration of the sound file. Added since 0.10.0
Decoder:getSampleRate Returns the sample rate of the Decoder.
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