Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
DefaultOutputUnit
Last Revision: | Version 1.0, 2009-04-15 Sample project for creating an instance of the default output unit and using it to output a sine wave |
Build Requirements: | Mac OS X v10.6 or later |
Runtime Requirements: | Mac OS X v10.6 or later |
The DefaultOutputUnit project provides sample code for obtaining the default output unit (an instance of AUHAL that tracks the default output device) and uses it to play a sine wave at different bit depths, channel numbers, and sample rates.
Copyright © 2009 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2009-04-15