• 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: HAL vs. AU Output: Performance?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HAL vs. AU Output: Performance?


  • Subject: Re: HAL vs. AU Output: Performance?
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 2 Jul 2007 11:44:37 -0700


On Jul 1, 2007, at 12:32 PM, Lubor Prikryl DS wrote:

I have used a direct access to the HAL for years, several months ago we moved to AU input/output. The only thing which is much worse is performance - the Output AU consumes a lot of CPU power. It seems to perform some oversampling or format conversion, when checking in Shark. But I don't need any sample rate change there, the input and output sample rates are the same.

This is probably because you are letting it do this work.

Is there anything what could be changed to decrease the CPU load of the output unit? I think the ComplexPlayThru has the same problem.

Absolutely. Just set the format of the data you are giving it to be the format of the audio device. That will prevent AUHAL from doing the format conversions. Note that this also requires that you pay attention to the HAL's format change notifications and keep updating things accordingly.


--

Jeff Moore
Core Audio
Apple


_______________________________________________ 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
References: 
 >HAL vs. AU Output: Performance? (From: Lubor Prikryl DS <email@hidden>)

  • Prev by Date: Re: Bug Resolved as of when?
  • Next by Date: Re: Disconnecting audio device notification
  • Previous by thread: HAL vs. AU Output: Performance?
  • Next by thread: ExtendedAudioFile problems
  • Index(es):
    • Date
    • Thread