Understand Sample Size and Bit Depth
mainAudio samples are defined by three different bit-width concepts:
- physical_bits: The actual physical space a sample occupies in memory.
- nominal_bits: The number of least significant bits used (often referred to as the bit depth or format width).
- significant_bits: The number of most significant bits used, representing the actual sample resolution.
Visual Representation:
MSB |00000000 XXXXXXXX XXXXXXXX 00000000| LSB
|--significant--|
|---------nominal---------|
|-------------physical--------------|