XAudio 是否附带 Windows 7?

Does XAudio ship with Windows 7 or not?

我想开发低级音频 API,我预计它已经在 Windows 7.

这个link:XAudio2 Versions

说(强调我的)

XAudio2 is a cross-platform API that has shipped for use on Xbox 360 as well as versions of Windows, including Windows XP, Windows Vista, Windows 7

但它也说:

XAudio 2.7 and earlier (Windows 7)

All previous versions of XAudio2 for use in apps have been provided as redistributable DLLs in the DirectX SDK.

那是哪一个?默认情况下它在 Windows 7 上,还是我需要用我的安装程序分发 DirectX?或者,由于 Windows 7 显然包含 DirectX 11,尽管我还没有找到该信息的官方来源,也许我只需要针对旧版 DirectX API 进行开发,但不需要包含其可分发文件?

MSDN 页面的其余部分已经回答了这个问题:

XAudio2 version 2.9 ships as part of Windows 10, XAUDIO2_9.DLL, alongside XAudio2.8 to support older applications, and does not require redistribution.

XAudio2 version 2.8 ships today as a system component in Windows 8, XAUDIO2_8.DLL. It is available “inbox” and does not require redistribution with an app. We recommend to use the Windows Software Development Kit (SDK) for Windows 8 to develop against XAudio2; the Windows SDK for Windows 8 contains the necessary header and import library for statically linking against XAUDIO2_8.DLL.

All previous versions of XAudio2 for use in apps have been provided as redistributable DLLs in the DirectX SDK. The first version of XAudio2, XAudio2 2.0, shipped in the March 2008 release of the DirectX SDK. The last version to ship in the DirectX SDK was XAudio2 2.7, available in the last release of the DirectX SDK in June 2010.

TL;DR: XAudio 不包含在 Windows 7. XAudio 2.7 是最后一个支持的版本 Windows 7. XAudio 2.7 的使用需要旧版 DirectX SDK 和旧版 DirectSetup End-User Runtime Redist 包。

XAudio2 and Windows 8, The Zombie DirectX SDK and Not So Direct Setup

更新: 现在可以在 Windows 7 上使用最新的 XAudio 2.9。参见 Microsoft Docs