Source:getBitDepth
Returns the number of bits per sample in the Source. This is a rough indicator of the "resolution" or quality of the Source. It's usually 16 or 32.
bits = Source:getBitDepth()
Arguments
None
Returns
Name | Type | Description |
bits | number | The number of bits per sample. |
See also
SoundData:getBitDepth
AudioStream:getBitDepth
Source