SoundData:getBitDepth
Returns the number of bits taken up by each sample in the SoundData. Higher bit depths mean the sound is higher quality and takes up more space. This is usually 8 or 16.
bitDepth = SoundData:getBitDepth()
Arguments
None
Returns
Name | Type | Description |
bitDepth | number | The size of each sample, in bits. |
See also
AudioStream:getBitDepth
Source:getBitDepth
SoundData