Audio Mixer (MixerHost)

Audio Mixer (MixerHost)

Version 1.0, 2010-07-27Demonstrates how to use the Multichannel Mixer audio unit in an iOS application.

Build Requirements:

Xcode 3.2 or later, Mac OS X v10.6.4 or later, iOS 4.0 SDK or later

Runtime Requirements:

iOS 4.0 or later

MixerHost demonstrates how to use the Multichannel Mixer audio unit in an iOS application. It also demonstrates how to use a render callback function to provide audio to an audio unit input bus. In this sample, the audio delivered by the callback comes from two short loops read from disk. You could use a similar callback, however, to synthesize sounds to feed into a mixer unit. This sample is described in Audio Unit Hosting Guide for iOS.