Microsoft.XAudio2.Redist 1.2.13

Prefix Reserved

Requires NuGet 2.8.6 or higher.

dotnet add package Microsoft.XAudio2.Redist --version 1.2.13
                    
NuGet\Install-Package Microsoft.XAudio2.Redist -Version 1.2.13
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.XAudio2.Redist" Version="1.2.13" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.XAudio2.Redist" Version="1.2.13" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.XAudio2.Redist" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.XAudio2.Redist --version 1.2.13
                    
#r "nuget: Microsoft.XAudio2.Redist, 1.2.13"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.XAudio2.Redist@1.2.13
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.XAudio2.Redist&version=1.2.13
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.XAudio2.Redist&version=1.2.13
                    
Install as a Cake Tool

Version history

Version 1.2.13

  • Added ARM64 libraries.
  • Compile with latest MSVC compiler.
  • Made sure 384 kHz sampling rate is enabled also on latest Windows 11 OS versions.

Version 1.2.12

  • Increased the maximum supported audio sampling rate to 384 kHz.

Version 1.2.11

  • Updated header files to allow building with MinGW32/MinGW64 compilers.

Version 1.2.10

  • Fixed Clang and GCC compiler warnings.

Version 1.2.9

  • When Virtual Surround Sound (VSS) is enabled on an audio endpoint, the Mastering Voice opens the audio endpoint in 7.1 channel mode.

Version 1.2.8

  • Fixed error that can happen when specifying the Communications stream category when the audio device is a Bluetooth headphone.
  • Added xdsp.h FFT helper file.

Version 1.2.7

  • Fixed crash that can happen on PCs that support AVX instruction set when the audio buffer size is not a multiple of 8 samples.

Version 1.2.6

  • Updated Microsoft.XAudio2.Redist.targets to work with arbitrary Config names and to work with GDK.

Version 1.2.5

  • Add casts to header files to eliminate new VS2019 compiler warnings.

Version 1.2.4

  • Add unique version number to the DLL to make it easier to track different versions.

Version 1.2.3

  • Corrected the definition of XAUDIO2_DLL_A and XAUDIO2_DLL_W in xaudio2Redist.h. (These macros can be used when delay-loading the DLL.)

Version 1.2.2

  • Update to make sure that earlier fix to IXAudio2Voice::SetOutputMatrix for panning of stereo signals (in v1.2.0) is used also when running on Windows 10 Version 2004.

Version 1.2.1

  • Updated XAudio2Redist.h header to make IXAudio2::RegisterForCallbacks and IXAudio2::UnregisterForCallbacks callable from C code.

Version 1.2.0

  • Fixed bug in the IXAudio2Voice::SetOutputMatrix function that caused panning of stereo signals to be wrong when the PC suppports AVX instructions.

Version 1.1.1

  • Defined a USING_XAUDIO2_REDIST preprocessor symbol, which can be used in "#ifdef USING_XAUDIO2_REDIST" statements, if there is a need to do things differently when the NuGet package is installed.

Version 1.1.0

  • Fixed bug that causes CreateMasteringVoice to fail on Windows 8 and 8.1 when a Virtual Audio Client is requested. As a consequence of this fix, the Virtual Audio Client feature only functions on Windows 10.

Version 1.0.4

  • Always link with Release version of xaudio2_9redist.lib even if the MSVC project is configured for a Debug build.

Version 1.0.3

  • Always deploy Release version of xaudio2_9redist.dll even if the MSVC project is configured for a Debug build. The Debug version of xaudio2_9redist.dll is still included in the NuGet package, but if you have a special reason to use it you will have to manually modify the project to copy it to the output directory.
  • Fixed Debug-only assert failure in WMA decoder.

Version 1.0.2

  • Optimize xapobaseredist.lib for speed.
  • Enable full debug info in xaudio2_9redist.lib.
  • Include new library called XapoBaseRedist_md.lib, which is a version of XapoBaseRedist.lib that depends on the dynamic runtime library. Use this if you get a warning about libcmt.lib causing a conflict. Set an environment variable or property in the vcxproj file called XAPODynamicCRT to 1, to automatically make the project link with XapoBaseRedist_md.lib.

Version 1.0.1

  • Fixed bug where the CreateAudioVolumeMeter API was invoking CreateAudioReverb instead.
  • Added xaudio2_9redist.pdb to the NuGet package.
  • NuGet package now includes both Release and Debug versions of the DLLs and LIBs.
  • Disabled Whole Program Optimization flag in Release version of XapoBaseRedist.lib for better compatibility with older compilers.

Version 1.0.0

Initial release version of the NuGet package. There are no differences between this version and the previous pre-release version of the package, other than the addition of this Readme file.

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • native 0.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.13 21,462 4/10/2025
1.2.12 1,553 3/28/2025
1.2.11 83,486 1/20/2023
1.2.10 66,635 10/26/2022
1.2.9 8,581 6/2/2022
1.2.8 17,087 10/15/2021
1.2.7 804 10/14/2021
1.2.6 60,347 2/23/2021
1.2.4 8,499 8/23/2020
1.2.3 2,726 8/2/2020
1.2.2 2,414 7/1/2020
1.2.1 3,432 4/25/2020
1.2.0 29,334 1/29/2020
1.1.1 857 1/26/2020
1.1.0 869 1/15/2020
1.0.4 888 1/13/2020
1.0.3 1,454 1/13/2020
1.0.2 992 1/11/2020
1.0.1 1,040 1/10/2020
1.0.0 932 11/20/2019
1.0.0-ci-19353538 662 11/4/2019