• 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
should I use AudioQueueOfflineRender() or AudioConverter services in iPhone OS 3.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

should I use AudioQueueOfflineRender() or AudioConverter services in iPhone OS 3.0


  • Subject: should I use AudioQueueOfflineRender() or AudioConverter services in iPhone OS 3.0
  • From: "Andrew E. Davidson" <email@hidden>
  • Date: Thu, 23 Jul 2009 14:53:51 -0700

Hi

 

My app needs to convert audio file from various formats (mp3, m4a, … ) to linear PCM format. Can anyone suggest which approach I should use?

 

Some back ground on my application. I have a player app that needs to convert the audio samples into PCM, manipulate the sample, then play them. I want to create the best possible user experience.  I do not want the user to have to press the play back button, then wait a couple of min for the sample to be converted to PCM before playback begins. Ideally the things would work something like

 

While ( !done ) {

            Get buffer from file

            Convert buffer to PCM

            Process buffer

            Enqueue buffer

}

 

Anyone know what kind of performance I am likely to get using each of these approaches?

 

My understanding is AudioQueueOfflineRender() uses a software codec. Is there a way to leverage the hardware codec?

 

Thanks

 

Andy

 

 


Replace Ads with your Stuff! Learn how @  www.prowebsurfer.com

 

 _______________________________________________
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

  • Prev by Date: Re: Mapping from AudiodeviceID to kIOUSBDeviceInterfaceID
  • Next by Date: Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS
  • Previous by thread: Re: Mapping from AudiodeviceID to kIOUSBDeviceInterfaceID
  • Next by thread: Encoding AAC in an M4A using ExtCoreAudioFile on iPhone OS
  • Index(es):
    • Date
    • Thread