我正在开发一个游戏引擎,我发现了一些困难。过去,我尝试使用 DirectX SDK(2010 年 6 月),但我与 Windows 8 Kit 及其自带的 Direct 冲突太多。我决定只使用来自 Windows Kit 的 Direct3D 制作引擎。现在,我只有一个问题:我能否开发一款仅支持 XAudio 2.8 且面向 Windows 7 用户的应用程序?还是我必须只在旧的 XAudio 2.7 支持下制作它?
最佳答案
XAudio 2.7 是最后一个支持 Windows 7 的版本。XAudio 2.8 是 Windows 8 或更高版本。
您可以而且应该使用 Windows 8.x SDK,并且您可以使用遗留的 DirectX SDK 来访问 XAudio 2.7,但它需要一些额外的设置,因为两者之间存在文件名冲突,但您想要在某些情况下使用 DirectX SDK 中的“旧”版本,但在其他情况下使用"new"版本。
参见 The Zombie DirectX SDK和 XAudio2 and Windows 8 .
Keep in mind that Windows 7 RTM is out of support. Windows 7 Service Pack 1 went out of mainstream support in January 2015.
关于c++ - Windows 7 和 XAudio 2.8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36335329/