Difference between revisions of "love.sound"

(Applying listings to included added and removed fields.)
m (Add PrettyDeprecated)
 
(5 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
| ?PrettySince
 
| ?PrettySince
 
| ?PrettyRemoved
 
| ?PrettyRemoved
 +
| ?PrettyDeprecated
 
}}
 
}}
 
== Functions ==
 
== Functions ==
Line 22: Line 23:
 
| ?PrettySince
 
| ?PrettySince
 
| ?PrettyRemoved
 
| ?PrettyRemoved
 +
| ?PrettyDeprecated
 
}}
 
}}
 
[[Category:Modules]]
 
[[Category:Modules]]
Line 28: Line 30:
 
== See Also ==
 
== See Also ==
 
* [[parent::love]]
 
* [[parent::love]]
 +
* [[Audio Formats]]
  
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.sound}}
 
{{i18n|love.sound}}

Latest revision as of 13: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