开发者_开发技巧
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this questionWhat 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
mp3 why not. From: The Multimedia Support Section of the Reference Library
Audio Playback and Recording Formats
The audio playback formats supported in iOS are the following:
- AAC (AAC-LC)
- HE-AAC (v1 and v2)
- xHE-AAC - supported since iOS 13.0
- AC-3 (Dolby Digital) - supported since iOS 9.3
- E-AC-3 (Dolby Digital Plus) - supported since iOS 9.3
- MP3 (MPEG-1 audio layer 3
AMR (Adaptive Multi-Rate, a format for speech)- not supported since iOS 4.3- ALAC (Apple Lossless)
- iLBC (internet Low Bitrate Codec, another format for speech)
- IMA4 (IMA/ADPCM)
- linear PCM (uncompressed)
- µ-law and a-law
The audio recording formats supported in iOS 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
iOS Supports these audio types...
@"aac",@"adts",@"ac3",@"aif",@"aiff",@"aifc",@"caf",@"mp3",@"mp4",@"m4a",@"snd",@"au",@"sd2",@"wav"
The Apple iPhone supports the following audio formats:
- AAC (16 to 320 Kbps)
- AIFF
- AAC Protected (MP4 from iTunes Store)
- MP3 (16 to 320 Kbps)
- MP3 VBR
- Audible (formats 2-4)
- Apple Lossless
- WAV
精彩评论