• 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
how to convert to PCM on iPhone OS 2.2? has anyone got this working? (AudioConverter, ExtAudioFile, AudioQueueRenderOffline ???)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to convert to PCM on iPhone OS 2.2? has anyone got this working? (AudioConverter, ExtAudioFile, AudioQueueRenderOffline ???)


  • Subject: how to convert to PCM on iPhone OS 2.2? has anyone got this working? (AudioConverter, ExtAudioFile, AudioQueueRenderOffline ???)
  • From: "Andrew E. Davidson" <email@hidden>
  • Date: Wed, 7 Jan 2009 09:54:30 -0800

Hi

 

My iPhone app allows users to upload audio files. I do some simple filtering on the files then play them using AudioQueues. I need the samples to be in 16 bit integer PCM format. I do not understand how to do the conversion. This topic has come up several times over the last couple of months. It is not clear to me if anyone has gotten this to work

 

I personally wasted a lot of time with AudioConverters. I could never get this to work. I was trying to convert an mp3.

 

I have seen a couple of posting that talk about using ExtAudioFile based on the convert file demo.

 

Several posting suggest using AudioQueueRenderOffline

 

I get the impression that different approaches maybe needed for different formats. Can some one provide a summary of the approach required for different audio file types. I assume give this is an iPhone app, that the source of most of the audio files will be iTunes, so I guess the most common formats I am likely to see are mp3, m4a, and m4p

 

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

  • Follow-Ups:
    • Re: how to convert to PCM on iPhone OS 2.2? has anyone got this working? (AudioConverter, ExtAudioFile, AudioQueueRenderOffline ???)
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Re: OpenALExample fails on PPC
  • Next by Date: Re: how to convert to PCM on iPhone OS 2.2? has anyone got this working? (AudioConverter, ExtAudioFile, AudioQueueRenderOffline ???)
  • Previous by thread: RE: Question about output data streaming
  • Next by thread: Re: how to convert to PCM on iPhone OS 2.2? has anyone got this working? (AudioConverter, ExtAudioFile, AudioQueueRenderOffline ???)
  • Index(es):
    • Date
    • Thread