tinyaudio icon indicating copy to clipboard operation
tinyaudio copied to clipboard

IXAudio2::Initialize doesn't exist anymore?

Open asm128 opened this issue 6 years ago • 0 comments

Hi! I've download the project but when trying to build on windows it says that there is no method IXAudio2::Initialize(), then I've found this:

The DirectX SDK versions of XAUDIO2 included three member functions that are not present in the Windows 8 version: GetDeviceCount, GetDeviceDetails, and Initialize. These enumeration methods are no longer provided and standard Windows Audio APIs should be used for device enumeration instead.

Maybe we should include conditional code for Windows 7 and otherwise use the latest api with XAudio2Create()? I believe using the helper function was avoided in case the dll was missing but maybe in most recent Windows such dll is always included.

asm128 avatar Oct 03 '18 17:10 asm128