[Mono-bugs] [Bug 585864] Device crash attempting to play sound
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Mar 5 16:11:32 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=585864
http://bugzilla.novell.com/show_bug.cgi?id=585864#c3
--- Comment #3 from Geoff Norton <gnorton at novell.com> 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.
More information about the mono-bugs
mailing list