
Converting Ogg Opus output gain from fixed-point units
The Ogg Opus header’s 16-bit signed output-gain integer uses Q7.8 fixed-point decibel units. Divide the stored value by 256 to obtain decibels. A raw value of 512 therefore means two decibels, not a five-hundred-and-twelve-fold volume increase. Optional normalization tags also have defined relationships with that header gain.
Read the guide



