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
Decoder | An object which can gradually decode a sound file. |
SoundData | Contains raw audio samples. |
Functions
love.sound.newDecoder | Attempts to find a decoder for the encoded sound data in the specified file. |
love.sound.newSoundData | Creates a new SoundData. |