1llum1n4t1s.NAudio.Wasapi 4.0.6

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

NAudio.Wasapi

Nuget

WASAPI and Media Foundation support for NAudio. Targets net10.0 and is Windows-only at runtime (guarded by [SupportedOSPlatform("windows")]), so cross-platform apps can reference it and build on any OS without EnableWindowsTargeting. Live WinRT MIDI moved to the NAudio.Midi package.

What's included

  • WASAPI playbackWasapiOut (shared and exclusive mode, event-driven callbacks), plus the modern WasapiPlayer / WasapiPlayerBuilder
  • WASAPI captureWasapiCapture for microphone/line-in capture, WasapiLoopbackCapture for system audio, plus the modern WasapiRecorder / WasapiRecorderBuilder
  • Device enumerationMMDeviceEnumerator, MMDevice, per-device volume, mute, peak/RMS metering, notification callbacks
  • Media FoundationMediaFoundationReader and MediaFoundationEncoder for MP3, AAC/MP4, WMA and any installed MFT codec; MediaFoundationResampler
  • Audio Session API — per-session volume, mute, and metering

For DMO effects (echo, chorus, reverb, etc.), the DMO MP3 decoder, the DMO resampler, and DirectSoundOut, see the separate NAudio.Dmo package.

When to use it

Use this package whenever you want modern Windows audio APIs: low-latency playback, loopback capture of the system mixer, per-application volume, or codec support via Media Foundation. The package is being actively modernized to use GeneratedComInterface and source-generated COM interop.

See the NAudio documentation site for tutorials and the full API reference, or the GitHub repository for full documentation and tutorials.

License

MIT.

Product Compatible and additional computed target framework versions.
.NET 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 (2)

Showing the top 2 NuGet packages that depend on 1llum1n4t1s.NAudio.Wasapi:

Package Downloads
1llum1n4t1s.NAudio

NAudio is an open source .NET audio library — playback and recording, file readers and writers, MIDI, DSP and effects, with platform-specific backends auto-selected by target framework.

1llum1n4t1s.NAudio.Extras

Optional extras (extra demo/sample providers and helpers) for the NAudio audio library.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.6 47 9/19/2026
4.0.5 72 9/17/2026
4.0.4 110 9/11/2026
4.0.3 120 8/29/2026
4.0.2 105 8/27/2026
4.0.1 110 8/26/2026
4.0.0 123 8/25/2026

### Changed

- NuGet パッケージに同梱する SBOM の生成基盤を最新の安定版へ更新しました。