Re: Floats to Ints
Date | 1999-02-12 12:33 |
From | Richard Dobson |
Subject | Re: Floats to Ints |
Oops: since this is a C topic, this is wrong: > const float shortfac = (float) 1.0 / 32767.0; this is right: const float shortfac = (float) (1.0 / 32767.0); perhaps I should have added; 'spot the deliberate mistake..." :-> Richard Dobson -- Test your DAW with my Soundcard Attrition Page! http://wkweb5.cableinet.co.uk/rwd |