[Vorbis] What's the value range of float samples?

Nikos Chantziaras realnc at gmail.com
Mon Jan 7 10:53:56 PST 2013


I always assumed that ov_read_float() would get me samples in the range 
of [-1,1), and anything below or above that can be clamped (or clipped 
in the final conversion to an integer format.)

However, I recently saw this:

   https://github.com/LaurentGomila/SFML/issues/310#issuecomment-9974550

Apparently, there are Vorbis streams that use float samples with values 
in the range of [-32768, 32767]?




More information about the Vorbis mailing list