views:

296

answers:

2

How do I integrate an audio unit into an application. I may not be familiar with the concept of components. I can open them in AUlab but I want to use it with a main.

A: 

This is not a trivial question. You have a fair amount of work ahead of you.

Start here with the Apple documentation. You will need to learn to configure CoreAudio, and then build AU "graphs".

Dave Gamble
+1  A: 

Programming an AudioUnit host is a good amount of work. A couple of resources to get you started:

  1. The Core Audio Overview has a section on Hosting which scratches the surface of what you need to learn. I would start by reading the entire guide, and examining the provied sample code.
  2. Also, check out the ardour code base for some example code on how they host audio units in their application.
Nick Haddad