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
<PackageReference Include="1llum1n4t1s.NAudio.Wasapi" Version="4.0.6" />
<PackageVersion Include="1llum1n4t1s.NAudio.Wasapi" Version="4.0.6" />
<PackageReference Include="1llum1n4t1s.NAudio.Wasapi" />
paket add 1llum1n4t1s.NAudio.Wasapi --version 4.0.6
#r "nuget: 1llum1n4t1s.NAudio.Wasapi, 4.0.6"
#:package 1llum1n4t1s.NAudio.Wasapi@4.0.6
#addin nuget:?package=1llum1n4t1s.NAudio.Wasapi&version=4.0.6
#tool nuget:?package=1llum1n4t1s.NAudio.Wasapi&version=4.0.6
NAudio.Wasapi
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 playback —
WasapiOut(shared and exclusive mode, event-driven callbacks), plus the modernWasapiPlayer/WasapiPlayerBuilder - WASAPI capture —
WasapiCapturefor microphone/line-in capture,WasapiLoopbackCapturefor system audio, plus the modernWasapiRecorder/WasapiRecorderBuilder - Device enumeration —
MMDeviceEnumerator,MMDevice, per-device volume, mute, peak/RMS metering, notification callbacks - Media Foundation —
MediaFoundationReaderandMediaFoundationEncoderfor 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 | Versions 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. |
-
net10.0
- 1llum1n4t1s.NAudio.Core (>= 4.0.6)
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.
### Changed
- NuGet パッケージに同梱する SBOM の生成基盤を最新の安定版へ更新しました。