Problem is the app needs to be able to play MP3s because the user has to be able to use their own songs etc. I was hoping to use BASS but the delphi header requires windows.

I found this which gave me hope

----
Fairly straightforward in Objective Pascal using the ObjC AVAudioPlayer class:

http://developer.apple.com/library/i.../AVAudioPlayer

Here's example code:

var
snd : AVAudioPlayer;
{Since sound is played asynchronously, can't release (or autorelease)
until after sound is done playing, so declare and release somewhere
outside PlaySound. Call snd.release to release.}

procedure PlaySound(sndFileName : NSString);
var
path : NSString;
url : NSURL;
err : NSError;
begin
path := NSBundle.mainBundle.resourcePath.
stringByAppendingPathComponent(sndFileName);

url := NSURL.fileURLWithPath(path);

snd := AVAudioPlayer.alloc.initWithContentsOfURL_error(ur l, @err);
if Assigned(snd) then
snd.play
else
NSLog(NSSTR('Error'));
end;
Call it like this:

PlaySound(NSSTR('Cartoon Boing.mp3'));

This file is included with iMovie. Just add your audio file(s) to your Xcode project and they'll be copied to your app bundle when you build the app.

Now, the only thing you'll need is Pascal units for the parsed Foundation and AVFoundation frameworks. Check with Embarc for that.

Thanks.

-Phil

-----

However, use of the word straightforward was not as straightforward for me. I cannot find a pas file to add to uses that gives me access to the AVAudioPlayer