Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sending sound to device




On Jun 27, 2006, at 9:18 AM, Bill Cunning wrote:
Is it possible to do audio output without using the AUGraph model?
Of course. Core Audio is a layered API. The ComplexPlayThrough code works with our higher level APIs. However, as you move down the stack, you have to take on more responsibility for doing the right thing (which can be a lot of code to write). One of the advantages of using the high level APIs is that a lot of this burden is handled for you.
Is there a sample somewhere that actually does this ..
Have you looked in /Developer/Examples/CoreAudio? This is where our SDK is installed. It contains many examples of doing various things with our APIs. In your case, the DefaultOutputUnit project in the SimpleSDK folder would be a good start. The AudioFileTools project covers recording and play back with separate command line tools. HALLab shows using the HAL (the lowest layer of the stack) for various things like recording and playback.

--

Jeff Moore
Core Audio
Apple


_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >sending sound to device (From: "Bill Cunning" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.