[opus] Float audio question

Brendan Bolles
Mon, 20 Jan 2014 21:13:23 -0000

I've had trouble getting a definitive answer to this one, so please forgive
me for asking here.

When converting between integer and float audio samples, what is the preferred
scale factor?

For example, if you were converting to signed 8-bit, the possible range is -128
to 127.  Do you map float -1.0 to -127 or -128?


Brendan