Re: New to converter.
Re: New to converter.
- Subject: Re: New to converter.
- From: Jens Alfke <email@hidden>
- Date: Tue, 8 Jan 2008 14:10:24 -0800
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:
This email sent to email@hidden