Difference between revisions of "love.sound"

(A link to TESound really doesn't belong here and may confuse users. Link deleted.)
(Applying listings to included added and removed fields.)
Line 4: Line 4:
 
{{#ask: [[Category:Types]] [[parent::love.sound]] [[Concept:Current]]
 
{{#ask: [[Category:Types]] [[parent::love.sound]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 
== Functions ==
 
== Functions ==
 
{{#ask: [[Category:Functions]] [[parent::love.sound]] [[Concept:Current]]
 
{{#ask: [[Category:Functions]] [[parent::love.sound]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 
}}
 
}}
 
[[Category:Modules]]
 
[[Category:Modules]]

Revision as of 00:09, 30 March 2013

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.


See Also

Other Languages