Simple way to play an MP3 on Mac OSX using AudioToolbox?

November 30

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:

View 3 Replies


  1. Nokia 503 marathi lengveg read softwear
  2. input VAT.xml
  3. cfl on pdf text box in sap
  4. barnduu
  5. tongueri1
  6. surfaceqqq
  7. smileaqq
  8. arei54
  9. negativex5u
  10. 36K2
Copyrights 2019 Fcffair BigData Resource, All rights reserved