• 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: Virtual audio device glitches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual audio device glitches


  • Subject: Re: Virtual audio device glitches
  • From: Jeff Moore <email@hidden>
  • Date: Tue, 19 Oct 2010 11:16:07 -0700

It's possible. I'm pretty sure that behind the scenes what this does is set up and tear down a temporary mapping for each copyout you do. It would be more efficient if you set up a shared buffer ahead of time with the driver and just have the driver write into that directly.

--

Jeff Moore
Core Audio
Apple



On Oct 17, 2010, at 9:47 AM, Robert Bielik wrote:

Ok, found the problem. My bad. No more pops/clicks. But... a rather large CPU percentage, about 5% for an
application that does no more than copy audio data. Should be negligible CPU%...

I do a copyout (4kB) in each API call, every 11.6 ms or so, would you say this can explain the large CPU
consumption ? Maybe time to move to shared buffer then... :)

TIA
/R

 _______________________________________________
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: 
 >Virtual audio device glitches (From: Robert Bielik <email@hidden>)
 >Re: Virtual audio device glitches (From: Jeff Moore <email@hidden>)
 >Re: Virtual audio device glitches (From: Robert Bielik <email@hidden>)
 >Re: Virtual audio device glitches (From: Jeff Moore <email@hidden>)
 >Re: Virtual audio device glitches (From: Robert Bielik <email@hidden>)
 >Re: Virtual audio device glitches (From: Robert Bielik <email@hidden>)
 >Re: Virtual audio device glitches (From: Robert Bielik <email@hidden>)

  • Prev by Date: Converting aac to LPCM on iOS 4
  • Next by Date: Re: Excessive CPU usage?
  • Previous by thread: Re: Virtual audio device glitches
  • Next by thread: Restarting a remoteIO unit soon after stopping it
  • Index(es):
    • Date
    • Thread