Difference between revisions of "love.sound"

m (1 revision: Importing from potato (again).)
Line 1: Line 1:
 
 
This module is responsible for decoding sound files.  
 
This module is responsible for decoding sound files.  
 
It can't play the sounds, see [[love.audio]] for that.
 
It can't play the sounds, see [[love.audio]] for that.
Line 17: Line 16:
 
== See Also ==
 
== See Also ==
 
* [[parent::love]]
 
* [[parent::love]]
 +
 +
== Other Languages ==
 +
{{i18n|love.sound}}

Revision as of 08:51, 21 September 2010

This module is responsible for decoding sound files. It can't play the sounds, see love.audio for that.

Types

DecoderAn object which can gradually decode a sound file.
SoundDataContains raw audio samples.

Functions

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

See Also

Other Languages