Re: What's the value range of float samples?

Michael Smith <[email protected]> Mon, 7 Jan 2013 15:19:05 -0800
Newsgroups gmane.comp.multimedia.ogg.vorbis.general
Message-ID <CAB=BY8tLJVsJhW1W9s-zWTTmDMdyDerVC6D55kBSzEaGXsQ_Tw@mail.gmail.com>
On Mon, Jan 7, 2013 at 1:50 PM, Nikos Chantziaras <[email protected]> wrote:
> On 07/01/13 23:23, Paul Martin wrote:
>> On Mon, Jan 07, 2013 at 08:53:56PM +0200, Nikos Chantziaras wrote:
>>
>>> Apparently, there are Vorbis streams that use float samples with values
>>> in the range of [-32768, 32767]?
>>
>> GIGO.
>
> So the answer is no?  Vorbis float values always have a nominal range of
> [-1,1) and I can always clamp/clip to that?
>

Yes, that's correct.

Mike