views:

435

answers:

2

Hi,

What are the supported audio files formats in iPhone?

If I want to play a 2 hour audio files , what is the best audio file format I should have in my App?

Thanks

+4  A: 

mp3 why not. From: The Multimedia Support Section of the Reference Library

Audio Playback and Recording Formats The audio playback formats supported in iPhone OS are the following:

*AAC
*HE-AAC
*AMR (Adaptive Multi-Rate, a format for speech)
*ALAC (Apple Lossless)
*iLBC (internet Low Bitrate Codec, another format for speech)
*IMA4 (IMA/ADPCM)
*linear PCM (uncompressed)
*µ-law and a-law
*MP3 (MPEG-1 audio layer 3

The audio recording formats supported in iPhone OS are the following:

*AAC (on supported devices only)
*ALAC (Apple Lossless)
*iLBC (internet Low Bitrate Codec, for speech)
*IMA4 (IMA/ADPCM)
*linear PCM
*µ-law and a-law
flycomputer