Re: [linux-audio-dev] Converting float to int

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Converting float to int
From: n. (Knos_AT_free.fr)
Date: Tue Oct 30 2001 - 16:14:03 EET


From: Steve Harris <S.W.Harris_AT_ecs.soton.ac.uk>
Subject: Re: [linux-audio-dev] Converting float to int
Date: Tue, 30 Oct 2001 12:17:02 +0000

> On Mon, Oct 29, 2001 at 04:27:38PM -0700, Joe Pfeiffer wrote:
> > That's the minimum acceptable limit. It's actually
> > implementation-dependent; on Intel (quickly looking at
> > /usr/include/limits.h), it's -32768 and 32767 as you'd expect.
>
> Right, so, in summary, you definatly should clamp.
>
> - Steve

even though, musically, wrap-around or clamping both are unacceptable..
so why clamp?


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Oct 30 2001 - 15:12:05 EET