Re: Audio stuttering under CPU load
Re: Audio stuttering under CPU load
- Subject: Re: Audio stuttering under CPU load
- From: "Ross Bencina" <email@hidden>
- Date: Wed, 10 Feb 2010 16:11:30 +1100
Bertrand, Pierre-Luc wrote:
Now I only lock to signal the processing thread to start processing a
chunk of 800ms.
I'm not saying it's your problem in this case, but I'd avoid locking it at
all. Sooner or later you'll get bitten.
[snip]
2010-02-09 15:56:03.916 TTS[2042:5603] Timing 0: 44.427036
2010-02-09 15:56:03.924 TTS[2042:5603] Timing 1: 8.080006
2010-02-09 15:56:03.930 TTS[2042:5603] Timing 2: 0.420988
You might find that the scheduler has disabled real-time priority on the io
thread if you violate deadlines like that at startup. Try moving your
startup code outside the IOProc .
Ross.
_______________________________________________
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