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

Advertisement
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..

Advertisement

Replay

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:
http://www.meandmark.com/qtkitaudiopart1.html

View 3 Replies

Tags:

  1. anything
  2. 1020dead soulision
  3. apple tv hulu no signal
  4. fb02 sales order
  5. BAPI_OUTB_DELIVERY_CREATE_STO
  6. UFE3
  7. PWKI
  8. wheatz4n
  9. ibooks 3.1.1.ipa download
  10. tipwss
Copyrights 2019 Fcffair BigData Resource, All rights reserved