QTAudioContextInsert

Last Revision:
Version 1.3, 2008-01-21
Editorial
(Full Revision History)
Build Requirements:
Xcode 3.0
Runtime Requirements:
Mac OS X 10.5

This sample demonstrates how a client application of QuickTime can use the Audio Context Insert APIs to hook in a custom audio processing unit into QuickTime's audio processing chain. By hooking in an insert, an application is able to tap into and optionally manupulate QuickTime's audio stream during playback to device or during extraction of movie audio. Inserts may be attached at the movie or individual track level.

The sample code seeks to establish good practices in using the new APIs. It illustrates steps involved in configuring and registering an insert with the movie or track whose audio data is to be tapped and/or processed. The code gives example implementations of the three callbacks - reset , process data, finalize - that need to implemented by an insert's processing logic. Finally, the sample code shows the steps involved in applying an insert to audio being extracted through QuickTime's Movie Audio Extraction APIs.