Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C in a Time Constraint Thread



Am 27.02.2006 um 23:30 schrieb john:
I would be surprised if making a method call from a CoreAudio ioproc would cause an audio glitch even on slow computers. I had various levels of processing loads in CoreAudio ioprocs when I first started with CoreAudio and have gradually changed some things to lessen the load, but back I never experienced any audio glitches (even on a 500mhz G3).

Thanks for all the answers, everyone.

I'd already Sharked my code, and my ObjC methods were way down on the list of functions taking up time, so I had concluded that it's usually not a problem. I was, however, concerned that the cache scavenging could be something that might occur rarely, but when it did, could cause a glitch. That other people have some ObjC in their IOProc without glitches is reassuring.

It would be cool, though, if some low-level ObjC hacker on the list could give us a bit more info on the cache collecting. In particular, what triggers it and what thread does it happen on. Or if someone can point me to the source file, that would be fine too. Attempts to GTFW turned up no dice. Thanks.

- sekhar

--
C. Ramakrishnan        email@hidden
Illposed Software http://www.illposed.com




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Objective-C in a Time Constraint Thread (From: Chandrasekhar Ramakrishnan <email@hidden>)
 >Re: Objective-C in a Time Constraint Thread (From: john <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.