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

NameTypeDescription
bitsnumberThe number of bits per sample.

See also