Will NAudio support Mac OSX

痞子三分冷 提交于 2019-12-24 08:23:09

问题


Now I am trying to use NAudio to play .wav and .mp3 files in my application for Windows Operating system.

Will this NAudio support Mac OS X?


回答1:


NAudio contains a lot of interop wrappers for Windows functions. You are likely to be using WaveOut (which uses the Windows waveOut APIs) and WaveFormatConversionStream (which uses the Windows ACM APIs) if you are playing MP3 files with NAudio, so the answer is no, this won't work on MacOS, even if you use Mono. You would be better off finding a cross-platform audio API.




回答2:


NAudio is targeted for the .NET framework, so I bet there won't be support for Mac platform.



来源:https://stackoverflow.com/questions/6186559/will-naudio-support-mac-osx

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!