Simple way to play an MP3 on Mac OSX using AudioToolbox?
Hi, I've been searching for some way to play an audio file (MP3 music) on Mac OSX similarly to how the AVAudioPlayer class for iOS works, but I can't find anything.
I have found an apple sample code called PlayFile but it's thousands of lines of code and uses many custom classes.
Is there any simpler way?
thanks in advance..
NSSound and QTKit are the easiest solutions for playing audio on Mac OS X. If you decide to use QTKit, I wrote an article on playing audio files with QTKit that may help you. You can read it at the following URL: