Re: Audio Hardware Plugin and Drift
Re: Audio Hardware Plugin and Drift
- Subject: Re: Audio Hardware Plugin and Drift
- From: Jeff Moore <email@hidden>
- Date: Fri, 26 Aug 2005 13:21:37 -0700
Because the mechanisms you are using are solely in your driver's
hands, your problems are, by definition, your own making. Your plug-
in owns everything about the IO path. The timing, calling the
IOProcs, implement the time translation functions. Everything.
Consequently, any bugs you might have will affect timing.
The most likely culprit is the time stamps you provide to the IOProcs
and how you are handling the time translation functions. Of course,
it's hard to give any advice with so little info about the problem.
Could you elaborate a bit on both how your plugin works as well as on
how you are doing the testing and I'll try to help you figure out
what you're doing wrong.
On Aug 26, 2005, at 6:17 AM, Dirk Musfeldt wrote:
Hi,
I have an audio hardware plugin that provides a system-wide audio
input from
user space.
It seems to be running fine. But unfortunately I have found out
that there's
some drift in the audio chain, i.e. the audio is not played from the
speakers as fast as it is processed by the AudioDeviceIOProcs.
On some machines the drift is noticeable after one hour on other
machines
after four hours or more.
Does anyboy have an idea what might be the cause and how I could
prevent
that?
Regards
Dirk
--
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