The Mono 2.6 distribution contains System.Media.SoundPlayer, but attempts to play result in no sound (and no errors) on Mac OS X. All I can find with Google search is obscure refere开发者_StackOverflow社区nces to ALSA. I posted to the Mono-OSX list, but there have been on replies there. I hope someone here has an answer. I think I need to tap into CoreAudio, but don't know how from Mono/C#.
Report this issue to Mono team if you can provide a reproducible environment stably,
http://www.mono-project.com/Bugs
did you have tryed to use http://sourceforge.net/projects/sharpffmpeg/ that libraries, can help you or look in google ffmpeg c# also there's a TOA Framework it's another project to play audio.
You should be able to use the MonoMac bindings which include bindings for CoreAudio.
精彩评论