Version: 1.0

Posted: 2007-08-22

Build Requirements: Xcode 2.4

Runtime Requirements: Mac OS X 10.4

View Source Code:

Download Sample (“CAPlayThrough.zip”, 83.5K)
Download Sample (“CAPlayThrough.dmg”, 128.7K)



Description

This sample shows how to use the HAL's Audio Output Unit (AUHAL) for device input and the Default Output Audio Unit for output. The code demonstrates how to use Audio Units and the Audio Unit Graph APIs to handle the 'complex' case of device input and output (play-thru). The 'complex' case is when there are two audio devices, one for input and a separate device for output. A good example is using a USB microphone for input then using speakers for output.

Document Revision History

Date Notes
2007-08-22Illustrates how to use the HAL's Audio Output Unit (AUHAL) for device input and the Default Output Audio Unit for output.
2007-08-21Illustrates how to use the HAL's Audio Output Unit (AUHAL) for device input and the Default Output Audio Unit for output.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.