Vortice.XAudio2 3.8.1

dotnet add package Vortice.XAudio2 --version 3.8.1
                    
NuGet\Install-Package Vortice.XAudio2 -Version 3.8.1
                    
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="Vortice.XAudio2" Version="3.8.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vortice.XAudio2" Version="3.8.1" />
                    
Directory.Packages.props
<PackageReference Include="Vortice.XAudio2" />
                    
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 Vortice.XAudio2 --version 3.8.1
                    
#r "nuget: Vortice.XAudio2, 3.8.1"
                    
#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 Vortice.XAudio2@3.8.1
                    
#: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=Vortice.XAudio2&version=3.8.1
                    
Install as a Cake Addin
#tool nuget:?package=Vortice.XAudio2&version=3.8.1
                    
Install as a Cake Tool

Vortice.Windows

License: MIT Build status NuGet

Vortice.Windows is a collection of Win32 and UWP libraries with bindings support for DXGI, WIC, DirectWrite, Direct2D, Direct3D9, Direct3D11, Direct3D12, XInput, XAudio2, X3DAudio, DirectInput, DirectStorage, DirectML, UIAnimation and DirectSound.

This library targets .net9.0 and .net10.0 and uses modern C#, see CHANGELOG for list of changes between commits.

If you are looking for high-performance low level bindings, please visit Vortice.Win32

Sponsors

Please consider becoming a SPONSOR to further help development and to allow faster issue triaging and new features to be implemented. NOTE: any feature request would require a sponsor in order to allow faster implementation and allow this project to continue.

There is a collection of samples available Vortice.Windows.Samples

Credits

Library development, contributions and bugfixes by:

  • Amer Koleci
  • Aaron Sun (DirectML)

SharpDX bindings were used for some platforms to understand how mapping works using SharpGenTools.

Build

In order to compile, make sure no spaces are present in the solution path otherwise SharpGen will fail to generate bindings. Also, you need to install Visual Studio 2022 with the following components:

  • Visual C++ Toolset Component
  • Windows 11 SDK (10.0.26100.0)
  • .NET 10 SDK

Projects using Vortice.Windows

Samples

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Vortice.XAudio2:

Package Downloads
FlyleafLib

Media Player .NET Library for WinUI 3/WPF/WinForms (based on FFmpeg/DirectX)

Evergine.XAudio2

Provides an XAudio2 implementation for Evergine audio subsystem

SharpAudio

Package Description

WaveEngine.XAudio2

Provides an XAudio2 implementation for Wave Engine audio subsystem

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on Vortice.XAudio2:

Repository Stars
TASEmulators/BizHawk
BizHawk is a multi-system emulator written in C#. BizHawk provides nice features for casual gamers such as full screen, and joypad support in addition to full rerecording and debugging tools for all system cores.
umlx5h/LLPlayer
The media player for language learning, with dual subtitles, AI-generated subtitles, real-time translation, and more!
b-editor/beutl
Cross-platform video editing (compositing) software.
SuRGeoNix/Flyleaf
Media Player .NET Library for WinUI 3/ WPF/WinForms (based on FFmpeg/DirectX)
feliwir/SharpAudio
Audio playback/capturing engine for C#
Version Downloads Last Updated
3.8.1 671 12/2/2025
3.8.0-beta 639 12/2/2025
3.7.6-beta 563 9/29/2025
3.7.5-beta 522 7/21/2025
3.7.4-beta 234 4/9/2025
3.7.3-beta 216 3/31/2025
3.7.2-beta 173 3/14/2025
3.7.1-beta 177 2/13/2025
3.7.0-beta 167 12/3/2024
3.6.2 14,817 10/9/2024
3.6.1-beta 165 9/30/2024
3.6.0-beta 134 9/23/2024
3.5.13-beta 168 9/5/2024
3.5.12-beta 148 9/2/2024
3.5.11-beta 120 7/30/2024
3.5.10-beta 168 7/8/2024
3.5.9-beta 159 7/1/2024
3.5.8-beta 255 6/27/2024
3.5.7-beta 164 6/25/2024
3.5.6-beta 158 6/25/2024
3.5.5-beta 150 6/20/2024
3.5.4-beta 172 6/14/2024
3.5.3-beta 174 6/10/2024
3.5.2-beta 183 5/29/2024
3.5.1-beta 140 5/27/2024
3.5.0 10,036 3/13/2024
3.4.4-beta 353 2/13/2024
3.4.3-beta 418 2/2/2024
3.4.2-beta 519 12/29/2023
3.4.1-beta 565 11/17/2023
3.4.0-beta 510 11/9/2023
3.3.4 3,140 10/13/2023
3.3.3-beta 739 10/9/2023
3.3.2-beta 595 10/6/2023
3.3.1-beta 155 9/18/2023
3.3.0-beta 131 9/18/2023
3.2.1-beta 226 6/23/2023
3.2.0 1,865 5/14/2023
3.1.1-beta 194 4/20/2023
3.1.0-beta 165 4/17/2023
3.0.5-beta 178 4/13/2023
3.0.4-beta 226 4/5/2023
3.0.3-beta 173 4/5/2023
3.0.2-beta 177 4/5/2023
3.0.1-beta 184 3/29/2023
3.0.0-beta 228 3/6/2023
2.4.2 47,154 3/3/2023
2.4.1-beta 241 2/9/2023
2.4.0-beta 202 1/25/2023
2.3.0 1,189 1/19/2023
2.2.0 2,113 12/22/2022
2.1.42-beta 204 11/8/2022
2.1.41 853 11/8/2022
2.1.40 221 11/8/2022
2.1.34-beta 241 9/28/2022
2.1.33-beta 216 9/26/2022
2.1.32 10,418 9/22/2022
2.1.31-beta 204 9/6/2022
2.1.30-beta 259 8/30/2022
2.1.29-beta 225 8/30/2022
2.1.28-beta 415 8/29/2022
2.1.27-beta 215 8/29/2022
2.1.26-beta 239 8/8/2022
2.1.25-beta 260 7/21/2022
2.1.24-beta 216 7/15/2022
2.1.23-beta 218 7/11/2022
2.1.22-beta 274 7/5/2022
2.1.21-beta 270 6/18/2022
2.1.20-beta 225 6/7/2022
2.1.19 1,073 6/7/2022
2.1.18 261 6/7/2022
2.1.17 303 6/7/2022
2.1.16-beta 230 6/6/2022
2.1.15-beta 254 5/31/2022
2.1.14-beta 268 5/19/2022
2.1.13-beta 216 5/19/2022
2.1.12-beta 232 5/9/2022
2.1.11-beta 249 5/2/2022
2.1.10-beta 859 4/25/2022
2.1.9-beta 853 4/21/2022
2.1.8-beta 250 4/11/2022
2.1.7-beta 239 4/8/2022
2.1.6-beta 231 4/5/2022
2.1.5-beta 261 3/31/2022
2.1.4-beta 352 3/21/2022
2.1.3-beta 243 3/15/2022
2.1.2 592 3/10/2022
2.1.2-beta 246 3/11/2022
2.1.1-beta9 301 1/24/2022
2.1.1-beta8 260 1/21/2022
2.1.1-beta7 279 1/20/2022
2.1.1-beta6 251 1/20/2022
2.1.1-beta5 287 1/19/2022
2.1.1-beta4 1,681 1/11/2022
2.1.1-beta3 285 1/10/2022
2.1.1-beta2 289 1/7/2022
2.1.1-beta12 279 3/2/2022
2.1.1-beta11 253 2/14/2022
2.1.1-beta10 281 2/8/2022
2.1.1-beta1 304 1/3/2022
2.1.0 11,589 12/31/2021
2.1.0-beta9 305 12/27/2021
2.1.0-beta8 354 12/9/2021
2.1.0-beta7 324 12/9/2021
2.1.0-beta6 286 12/6/2021
2.1.0-beta5 276 11/29/2021
2.1.0-beta4 346 11/10/2021
2.1.0-beta3 306 11/10/2021
2.1.0-beta2 1,379 11/2/2021
2.1.0-beta10 306 12/30/2021
2.0.20-beta 533 9/25/2021
2.0.19-beta 310 9/24/2021
1.9.143 3,148 9/8/2021
1.9.130 356 8/31/2021
1.9.117 538 8/26/2021
1.9.87 1,338 6/21/2021
1.9.80 421 6/1/2021
1.9.77 366 5/31/2021
1.9.65 512 5/15/2021
1.9.56 372 4/19/2021
1.9.45 371 4/11/2021
1.9.41 366 4/6/2021
1.9.29-beta 322 4/1/2021
1.9.28-beta 316 4/1/2021
1.9.27-beta 320 3/24/2021
1.9.25-beta 323 3/24/2021
1.9.24-beta 319 3/24/2021
1.9.18-beta 984 3/22/2021
1.9.17-beta 979 3/17/2021
1.9.10-beta 961 3/13/2021
1.9.9-beta 1,095 3/13/2021
1.9.7-beta 1,020 3/5/2021
1.9.4-beta 970 2/1/2021
1.9.3-beta 1,045 1/25/2021
1.9.2-beta 1,017 1/20/2021
1.9.1-beta 1,090 1/19/2021
1.8.59 1,225 1/19/2021
1.8.58 1,185 1/18/2021
1.8.57 1,201 1/18/2021
1.8.56 1,170 1/18/2021
1.8.55 1,164 1/13/2021
1.8.54 1,242 1/4/2021
1.8.53 1,228 1/4/2021
1.8.51 1,188 1/4/2021
1.8.50 1,229 12/31/2020
1.8.49 1,167 12/30/2020
1.8.48 1,240 12/29/2020
1.8.47 1,196 12/29/2020
1.8.46 1,214 12/29/2020
1.8.41 1,279 12/21/2020
1.8.40 1,270 12/21/2020
1.8.38 1,253 12/14/2020
1.8.37 1,232 12/10/2020
1.8.36 1,226 12/10/2020
1.8.35 1,253 11/30/2020
1.8.34 1,227 11/23/2020
1.8.31 1,320 11/1/2020
1.8.30 1,291 10/22/2020
1.8.29 1,279 10/22/2020
1.8.28 1,273 10/22/2020
1.8.27 1,233 10/22/2020
1.8.26 1,264 10/20/2020
1.8.24 1,273 10/19/2020
1.8.23 1,294 10/19/2020
1.8.22 1,242 10/19/2020
1.8.21 1,290 10/14/2020
1.8.19-gcdaf522b67 1,060 10/14/2020
1.8.18-g15838e93ce 1,038 10/12/2020
1.8.17 1,198 9/29/2020
1.8.16 1,280 9/28/2020
1.8.15 1,199 9/28/2020
1.8.14 1,302 9/22/2020
1.8.13 1,230 9/22/2020
1.8.12 1,269 9/22/2020
1.8.11 1,258 9/14/2020
1.8.10 1,213 9/14/2020
1.8.9 1,313 9/7/2020
1.8.6 1,274 9/2/2020
1.8.5 1,260 9/2/2020
1.8.3 1,256 8/27/2020
1.8.2-beta 1,036 8/27/2020
1.8.1-beta 1,056 8/26/2020
1.7.37 1,238 8/26/2020
1.7.36-beta 1,019 8/25/2020
1.7.33-beta 1,185 7/25/2020
1.7.31-beta 1,120 7/19/2020
1.7.30-beta 1,137 7/19/2020
1.7.29-beta 1,037 7/18/2020
1.7.28-beta 1,104 7/18/2020
1.7.26-beta 1,040 7/17/2020
1.7.25-beta 1,080 7/10/2020
1.7.24-beta 1,122 6/24/2020
1.7.22-beta 1,048 6/23/2020
1.7.17-beta 1,081 6/17/2020
1.7.16-beta 1,103 6/16/2020
1.7.15-beta 1,085 6/16/2020
1.7.14-beta 1,083 6/15/2020
1.7.13-beta 1,076 6/15/2020
1.7.12-beta 1,088 6/15/2020
1.7.11-beta 1,089 6/3/2020
1.7.10-beta 1,084 6/3/2020
1.7.9-beta 1,029 6/3/2020
1.7.5-beta 1,066 4/29/2020
1.7.4-beta 1,080 4/23/2020
1.7.3-beta 1,142 4/23/2020
1.7.2-beta 1,051 8/27/2020
1.7.1-beta 1,076 4/3/2020
1.6.0 1,282 4/3/2020
1.5.0 1,339 12/24/2019
1.4.0 1,313 11/7/2019
1.3.0 1,287 9/21/2019