• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Float denormal automatically flushed to zero in CoreAudio?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Float denormal automatically flushed to zero in CoreAudio?


  • Subject: Re: Float denormal automatically flushed to zero in CoreAudio?
  • From: James McCartney <email@hidden>
  • Date: Wed, 25 Jun 2014 17:01:54 -0700


On Jun 25, 2014, at 4:44 PM, Paul Davis <email@hidden> wrote:




On Wed, Jun 25, 2014 at 7:34 PM, James McCartney <email@hidden> wrote:

If you are using the AUBase C++ classes to build your AudioUnits, you will find the DISABLE_DENORMALS & RESTORE_DENORMALS macros in the code.
The HAL does not disable denormals, so it is only by luck if you are getting this mode in a HAL ioProc.

by luck? what kind of luck would accidentally reset the processor to do this (or not) ? this should be process/task local, no? do you have in mind some other software component that might set them (or might not)?
 

All I’m saying is that the HAL does not set the FPU mode.
Any third party AU could set the FPU mode on the render thread to something you didn’t expect.


James McCartney
Apple CoreAudio
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Float denormal automatically flushed to zero in CoreAudio?
      • From: Stéphane Letz <email@hidden>
References: 
 >Float denormal automatically flushed to zero in CoreAudio? (From: Stéphane Letz <email@hidden>)
 >Re: Float denormal automatically flushed to zero in CoreAudio? (From: James McCartney <email@hidden>)
 >Re: Float denormal automatically flushed to zero in CoreAudio? (From: Paul Davis <email@hidden>)

  • Prev by Date: Re: Sample Rate Converter Questions
  • Next by Date: Re: Float denormal automatically flushed to zero in CoreAudio?
  • Previous by thread: Re: Float denormal automatically flushed to zero in CoreAudio?
  • Next by thread: Re: Float denormal automatically flushed to zero in CoreAudio?
  • Index(es):
    • Date
    • Thread