iphone_app_development_10.pdf
文本预览下载声明
IPHONE
• “”
iPhone OSAPI
• AVAudioPlayer
• iPod(3.0)
• MPMoviePlayer
AVAUDIOPLAYER - 1
• AVAudioPlayer
•
•
•
•
•
AVAUDIOPLAYER - 2
•
•
-1
• 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)
- 2
• µ-law and a-law
• MP3 (MPEG-1 audio layer 3)
• LessonAudioAndVideo/Classes/Views/AudioPlayerView
AVAUDIOPLAYER
• AVAudioPlayer
AVFoundation.framework
• #import AVFoundation/
AVFoundation.h
API -
• - (id)initWithContentsOfURL:(NSURL *)url error:(NSError
**)outError
• - (id)initWithData:(NSData *)data error:(NSError **)outError
显示全部