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
1 | bitdepth = SoundData:getBitDepth( ) |
Arguments
None.
Returns
number bitdepth
- Either 8, or 16.
Please login to continue.