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