I downloaded latest SharpDX v2.2 and built the samples in the SharpDXSamples.sln
When I attempt to run an example that uses XAudio2,
the sample crashes with the following error
Here's the stack trace:
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()
Any ideas on what is going on? Do I need some other library installed???