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: New to converter.




On 8 Jan '08, at 11:39 AM, Aurélien Ammeloot wrote:

I'm looking for a simple tutorial or well commented sample code in order to open an audio file and convert it in a linear PCM stream.

The main thing you need is ExtAudioFile, in the AudioToolbox framework, which will read audio files in any format CoreAudio supports, decode them, and let you read out the PCM samples. Setting up the data structures can be a bit confusing, but the sample code demonstrates how to do it. There aren't many comments; just look through the code bit by bit to figure out what's going on. Single- stepping helps too.


Also, sometimes the header files have comments that provide more documentation than the ADC reference library has. CoreAudio's documentation is in a very sorry state compared to most other frameworks, and I really hope Apple's tech-pubs group can put some work into it soon. :-(

--Jens _______________________________________________
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: 
 >Noob Questions (From: Matt Mashyna <email@hidden>)
 >Re: Noob Questions (From: Jens Alfke <email@hidden>)
 >New to converter. (From: AurĂ©lien Ammeloot <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.