snd_format_bits%(format%)

Parameters
format%
Handle to a format created with snd_format_create, snd_format_choose, or snd_codec_getformat.

Description
Gets the size of each 'sample' in a format Typically 8-bit or 16-bit. To convert this to bytes, use this operation:

bytes# = bits / 8.0

It is recommended to use floats when working with special formats that may use 4-bit audio, or smaller. Because this will introduce
less than 1 byte (1 byte being 8-bits) sample sizes.

Return
Returns sample size of a format.

SndLib : Sound Formats : snd_format_bits