• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New to converter.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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>)

  • Prev by Date: Re: deprecated functions
  • Next by Date: Re: old mtcoreaudio code doesn't work now
  • Previous by thread: Re: New to converter.
  • Next by thread: Re: New to converter.
  • Index(es):
    • Date
    • Thread