[linux-audio-dev] swh plugins and fixing undenormalize
Steve Harris
S.W.Harris at ecs.soton.ac.uk
Thu Jun 24 09:21:30 UTC 2004
On Thu, Jun 24, 2004 at 06:36:47 +1000, Erik de Castro Lopo wrote:
> On Thu, 24 Jun 2004 10:37:35 +0100
> Simon Jenkins <sjenkins at blueyonder.co.uk> wrote:
> > inline float FlushToZero( volatile float f )
> > {
> > f += 9.8607615E-32f;
> > return f - 9.8607615E-32f;
> > }
> >
>
> There we go!!! That is an elegant solution.
Until the optimiser notices... but agreed its nicer. How much damage does
it do if you change one of the constant values slightly? The DC offset
would only occur at very low signals, so shouldn't affect feedback loops.
- Steve
More information about the Linux-audio-dev
mailing list