Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Simple Audio Player
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple Audio Player




On Feb 9, 2009, at 4:54 PM, Gabriele Palmas wrote:

I'm a beginner working with CoreAudio and iPhone and I would like to
make a very easy coreAudio chain in an iPhone app.

"Easy" and "CoreAudio" can't be used in the same sentence. :P CoreAudio is very powerful, very complex, and under-documented. Be prepared for a steep learning curve, APIs with millions of tiny little pieces, and puzzling things out from sample code rather than reading high-level documentation.


I'm stuck at the very beginning of the process: open the audio files
and make my audio buffers.

/Developer/Examples/CoreAudio is where all the good stuff is. Look at SimpleSDK/PlayFile, which creates a simple AUGraph to play audio from a file. (However, I'm unsure of whether all this stuff, like AUGraph, is available on iPhone...)


For just reading samples from arbitrary audio files, the API you want is <AudioToolbox/ExtAudioFile.h>. There are several examples that show how to use it, such as ConvertFile.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to email@hidden

References: 
 >Simple Audio Player (From: Gabriele Palmas <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.