http://bugzilla.novell.com/show_bug.cgi?id=585864

http://bugzilla.novell.com/show_bug.cgi?id=585864#c3


--- Comment #3 from Geoff Norton <[email protected]> 2010-03-05 21:11:31 UTC 
---
Sorry I'm wrong.  I fixed this in the sample you sent out of habit, here's the
fix, you do:

AVAudioPlayer audioPlayer = new AVAudioPlayer();
audioPlayer = AVAudioPlayer.FromUrl (new NSUrl (audioFilePath, false));

which creates a improperly initialized object which tries to get disposed.

You want to do:

var audioPlayer = AVAudioPlayer.FromUrl (new NSUrl (audioFilePath, false));

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to