Difference between revisions of "love.sound"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
This module is responsible for decoding sound files.
 +
It can't play the sounds, see [[love.audio]] for that.
 
== Types ==
 
== Types ==
 
{{#ask: [[Category:Types]] [[parent::love.sound]]
 
{{#ask: [[Category:Types]] [[parent::love.sound]]
Line 12: Line 13:
 
}}
 
}}
 
[[Category:Modules]]
 
[[Category:Modules]]
{{#set:Description=}}
+
{{#set:Description=This module is responsible for decoding sound files.
 +
}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love]]
 
* [[parent::love]]

Revision as of 16:17, 14 February 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