Difference between revisions of "SoundData:getBitDepth"

(Created page)
 
m
Line 1: Line 1:
{{newin|[[0.9.0]]|090|type=function|text=This function has been renamed from [[SoundData:getBits]]}}
+
{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[SoundData:getBits]]}}
 
Returns the number of bits per sample.
 
Returns the number of bits per sample.
 
== Function ==
 
== Function ==

Revision as of 04:01, 19 July 2013

Available since LÖVE 0.9.0
It has been renamed from SoundData:getBits.

Returns the number of bits per sample.

Function

Synopsis

bitdepth = SoundData:getBitDepth( )

Arguments

None.

Returns

number bitdepth
Either 8, or 16.

See Also

Other Languages