Difference between revisions of "Decoder:getBits"

m (1 revision: Imported docs from potato.)
m (Added oldin)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
+
{{oldin|[[0.9.0]]|090|type=function|text=It has been renamed to [[Decoder:getBitDepth]]}}
 
+
Returns the number of bits per sample.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::Decoder]]
 
* [[parent::Decoder]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Returns the number of bits per sample.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|Decoder:getBits}}

Latest revision as of 23:31, 11 August 2013

Removed in LÖVE 0.9.0
It has been renamed to Decoder:getBitDepth.

Returns the number of bits per sample.

Function

Synopsis

bitSize = Decoder:getBits( )

Arguments

None.

Returns

number bitSize
Either 8, or 16.

See Also


Other Languages