• 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: Simple Audio Player
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple Audio Player


  • Subject: Re: Simple Audio Player
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 9 Feb 2009 17:19:33 -0800


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

  • Follow-Ups:
    • Re: Simple Audio Player
      • From: William Stewart <email@hidden>
References: 
 >Simple Audio Player (From: Gabriele Palmas <email@hidden>)

  • Prev by Date: Simple Audio Player
  • Next by Date: Re: kAudioUnitProperty_BypassEffect
  • Previous by thread: Simple Audio Player
  • Next by thread: Re: Simple Audio Player
  • Index(es):
    • Date
    • Thread