help me pick the right iPhone audio class - MPMoviePlayer vs AVAudioPlayer vs MPMusicPlayer
Does anyone know of a good tutorial on the distinction between the MPMoviePlayer vs AVAudioPlayer vs MPMusicPlayer?
I want to play audio from an mp3 file available at an external URL.
Ideally it is played in an iPod-like audio view. I toyed with MPMoviePlayer but it appears to be more suitable for video, as when audio starts a "movie playing" message displays, the controls disappear and a white quic开发者_运维知识库ktime splash page displays.
I would like the standard ipod audio controls to display all the time, and to customize the image behind them.
Here's a great little group of articles from Ray Wenderlich. Not specifically what you're after but might come in handy.
Audio 101 for iPhone Developers: Playing Audio Programmatically
Audio 101 for iPhone Developers: File and Data Formats
Audio 101 for iPhone Developers: Converting and Recording
精彩评论