SoundData:getBitDepth

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

Personal tools