Re: Question: What is the impact of changing .cpp AudioUnitEffect
Re: Question: What is the impact of changing .cpp AudioUnitEffect
- Subject: Re: Question: What is the impact of changing .cpp AudioUnitEffect
- From: "Roni Music" <email@hidden>
- Date: Sun, 20 Jun 2010 21:31:21 +0200
From: Brian Willoughby <email@hidden>
Subject: Re: Question: What is the impact of changing .cpp AudioUnitEffect
source to .mm
On Jun 20, 2010, at 02:05, Motti Shneor wrote:
When is the Obj-C runtime loaded?
How fast is its initialization?
Is it loaded only once for the host application, or is it part of
my own code?
how is it attached to my code?
Is the code compiled for .mm any slower?
Unlike C++, ObjC does not generate any code behind the scenes.
What kind of code does C++ generate behind the scenes?
The
only overhead is the method call itself, which adds only a few cycles
above the typical i386 function call. There is a potential look-up
hit on the first call, but ObjC offers means to obtain the function
address in advance, if you want to avoid that overhead.
what about thread safety?
There are a lot of good questions here, but only a few are specific
to CoreAudio. Namely, I'd imagine that all but the "host
application" questions could be answered more readily on other Apple
mailing lists. Hopefully, someone can comment on the specifics of
AudioUnit hosting, if there are any general assumptions that can be
made, before passing you off to a more appropriate forum.
Brian Willoughby
Sound Consulting
_______________________________________________
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