Brian,
From looking at your screencast, you are trying to play an mp3 file, not a file in a cafe. Mp3 files are encoded differently and will not play with the SystemSound class, which is (I cannot remember if you can do this in Obj-C or not.)
You want to use the AVFoundation namespace and the AVAudioPlayer class.
using Monotouch.AVFoundation; var mediaFile = NSUrl.FromFilename("myMp3.mp3"); var audioPlayer = AVAudioPlayer.FromUrl(mediaFile); audioPlayer.FinishedPlaying += delegate { audioPlayer.Dispose(); }; audioPlayer.Play();
You may need to tweak the code above - I don't have MonoDevelop, but that should help you a bit further.
Greetings
Chrisntr
source share