• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to add an Audio Unit to Kalimba?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to add an Audio Unit to Kalimba? (From: Sam Jew <email@hidden>)
 >Re: How to add an Audio Unit to Kalimba? (From: Jens Alfke <email@hidden>)
 >Re: How to add an Audio Unit to Kalimba? (From: JJB <email@hidden>)

  • Prev by Date: kExtAudioFileProperty_AudioFile property invalid on 10.4?
  • Next by Date: Re: Meta Parameters
  • Previous by thread: Re: How to add an Audio Unit to Kalimba?
  • Next by thread: Question about Default Output Unit Example
  • Index(es):
    • Date
    • Thread