Difference between revisions of "love.sound"

(Added link to page with supported audio formats)
m (Add PrettyDeprecated)
 
Line 11: Line 11:
 
| ?PrettySince
 
| ?PrettySince
 
| ?PrettyRemoved
 
| ?PrettyRemoved
 +
| ?PrettyDeprecated
 
}}
 
}}
 
== Functions ==
 
== Functions ==
Line 22: Line 23:
 
| ?PrettySince
 
| ?PrettySince
 
| ?PrettyRemoved
 
| ?PrettyRemoved
 +
| ?PrettyDeprecated
 
}}
 
}}
 
[[Category:Modules]]
 
[[Category:Modules]]

Latest revision as of 11:48, 19 June 2019

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