Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
367B

  1. // Macro for killing denormalled numbers
  2. //
  3. // Written by Jezar at Dreampoint, June 2000
  4. // http://www.dreampoint.co.uk
  5. // Based on IS_DENORMAL macro by Jon Watte
  6. // This code is public domain
  7. #ifndef _denormals_
  8. #define _denormals_
  9. #define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f
  10. #endif//_denormals_
  11. //ends