Re: Speeding HAL plugin loop rate
Re: Speeding HAL plugin loop rate
- Subject: Re: Speeding HAL plugin loop rate
- From: Jeff Moore <email@hidden>
- Date: Tue, 06 Jan 2009 12:31:00 -0800
How are you measuring this? It sounds like you are just counting time
between calls to an IOProc, which is not the way to track the time
since those measurements would include any scheduling latency.
FWIW, the timing code the the SampleHardwarePlugin does all it's math
assuming a rate scalar of 1.0. You can see this in how
SHP_Device::TranslateTime is implemented.
On Dec 16, 2008, at 5:49 AM, Mike Kluev wrote:
I based my HAL plugin on the SampleHardwarePlugin sample and noticed
that
it's work loop is called slightly less frequent than desired (e.g.
43945 Hz on
average while 44100 is wanted). That's with all my logic commented,
so it
doesn't contribute to timing. What should I do to speed it up?
--
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