• 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: Stéphane Letz <email@hidden>
  • Date: Thu, 26 Jun 2014 08:40:53 +0200

Le 26 juin 2014 à 02:01, James McCartney <email@hidden> a écrit :

>
> 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
>

Our CoreAudio code simply uses the AUHal, with this kind of code:

AudioComponentDescription cd = {kAudioUnitType_Output, kAudioUnitSubType_HALOutput, kAudioUnitManufacturer_Apple, 0, 0};
AudioComponent HALOutput = AudioComponentFindNext(NULL, &cd);
err = AudioComponentInstanceNew(HALOutput, &fAUHAL);

so is the AUHal using the DISABLE_DENORMALS& RESTORE_DENORMALS  stuff internally?

Thanks.

Stéphane Letz


 _______________________________________________
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: James McCartney <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>)
 >Re: Float denormal automatically flushed to zero in CoreAudio? (From: James McCartney <email@hidden>)

  • Prev by Date: Re: Float denormal automatically flushed to zero in CoreAudio?
  • 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