Difference between revisions of "Decoder (Français)"

(Fonctions)
Line 30: Line 30:
 
== Voir également ==
 
== Voir également ==
 
* [[parent::love.sound (Français)]]
 
* [[parent::love.sound (Français)]]
[[Category:Types]]
+
[[Category:Types (Français)]]
 
{{#set:Description=Un objet qui peut décoder un fichier sonore progressivement.}}
 
{{#set:Description=Un objet qui peut décoder un fichier sonore progressivement.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Autres langues ==
 
== Autres langues ==
 
{{i18n|Decoder}}
 
{{i18n|Decoder}}

Revision as of 22:18, 25 February 2021

Un objet qui peut décoder un fichier sonore progressivement.

Constructeurs

love.sound.newDecoder Attempts to find a decoder for the encoded sound data in the specified file.

Fonctions

Decoder:clone Create new copy of existing decoder. Added since 11.3
Decoder:decode Decodes a chunk of audio data to a SoundData. Added since 11.0
Decoder:getBitDepth Returns the number of bits per sample. Added since 0.9.0
Decoder:getBits Returns the number of bits per sample. Removed in 0.9.0
Decoder:getChannelCount Returns the number of channels in the stream. Added since 11.0
Decoder:getChannels Returns the number of channels in the stream. Deprecated in 11.0
Decoder:getDuration Gets the duration of the sound file. Added since 0.10.0
Decoder:getSampleRate Returns the sample rate of the Decoder.
Decoder:seek Sets the currently playing position of the Decoder. Added since 11.0

Supertypes

Voir également


Autres langues