In the introduction (it’s page 7 of the pdf) you read
bytes = samples * bits / 8
samples = bytes * 8 / bits
this is correct only for monofonic audio, for stereo and up the number of channels should be considerated. So
bytes = samples * bits * channels / 8
samples = bytes * 8 / (bits * channels)
this is, if I understand correctly, if you mean by a “sample” a set of actual samples, one for each channel.
- You must login to post comments