Re: Virtual audio device glitches
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