Re: How to add an Audio Unit to Kalimba?
Re: How to add an Audio Unit to Kalimba?
- Subject: Re: How to add an Audio Unit to Kalimba?
- From: "Kevin Dixon" <email@hidden>
- Date: Mon, 7 Apr 2008 16:31:07 -0400 (EDT)
- Importance: Normal
>
>> The actual system APIs are plain C (because C++ is horribly unsuited
>> to defining system APIs.)
>> But there's a lot of utility code in the CoreAudio SDK (in
>> /Developer/Examples/CoreAudio/PublicUtility/), and it's all C++
>> classes. You don't have to use that, but it helps, and the examples
>> all use it.
>
> Does this mean that we can use plain old 'C' for writing Audio Units
> plugins - I've been attempting to learn Objective-C so I could develop
> some rudimentary Audio Units. What would be the drawbacks of using C
> (assuming it is practical) instead of C++ or Objective-C?
>
> - jjb
Indeed I assume you could, but its far easier to subclass AUBase or
AUEffectBase in C++, found in the PublicUtility folder. You can read these
classes if you want to see how to do a plain C audio unit, but using these
classes and subclassing them takes a lot of the drudgery out of building
an audio unit, especially AUEffectBase takes care of the render method and
everything.
-Kevin
_______________________________________________
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