我下载了最新的 SharpDX v2.2 并在 SharpDXSamples.sln 中构建了样本
当我尝试运行一个使用 XAudio2 的示例时,
示例崩溃并出现以下错误
这是堆栈跟踪:
at SharpDX.Result.CheckError()
at SharpDX.Utilities.CreateComInstance(Guid clsid, CLSCTX clsctx, Guid riid, ComObject comObject)
at SharpDX.XAudio2.XAudio2..ctor(XAudio2Flags flags, ProcessorSpecifier processorSpecifier)
at SharpDX.XAudio2.XAudio2..ctor()
at PlayDynamicSound.Program.Main(String[] args) in c:\Users\James\Documents\Visual Studio 2012\Projects\SharpDX-Full-2.2.0\Samples\XAudio2\PlayDynamicSound\Program.cs:line 38
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
关于发生了什么的任何想法?我需要安装其他库吗???