Difference between revisions of "SoundData:getBitDepth"

(Created page)
 
(Undo revision 12459 by Bangseongbeom (talk))
 
(2 intermediate revisions by 2 users not shown)
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 ==

Latest revision as of 06:03, 3 January 2014

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