Difference between revisions of "Decoder:getBits"

m (1 revision: Importing from potato (again).)
m (Added oldin)
 
(2 intermediate revisions by 2 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.
 
Returns the number of bits per sample.
 
== Function ==
 
== Function ==
Line 14: Line 14:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns the number of bits per sample.}}
 
{{#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