Reputation: 1186
I am looking to replace my 32bit DirectSound audio API with XAudio2. Does XAudio2 work with a 64bit C# application? If so, I am not entirely sure how to setup the project to begin using XAudio2. All the examples I have seen online are for C++.
Upvotes: 2
Views: 2337
Reputation: 7189
XAudio2 doesn't support C# directly but you can call it using SharpDX, which is a managed .NET wrapper of DirectX API. Here you can find a few samples to get started. Other possibilities that I haven't tried but should work:
Upvotes: 3