NAudio.Dmo 3.0.1-preview.1

NAudio.Dmo

Nuget

DirectX Media Object (DMO) and DirectSound support for NAudio. Windows-only (net9.0-windows).

What's included

  • DMO effects — DmoEffectWaveProvider<TEffector, TParam> with built-in wrappers for the Windows audio effect DMOs (echo, chorus, compressor, distortion, flanger, gargle, I3DL2 reverb, param EQ, waves reverb)
  • DMO MP3 decoder — DmoMp3FrameDecompressor (IMp3FrameDecompressor implementation backed by the Windows Media MP3 Decoder DMO)
  • DMO resampler stream — ResamplerDmoStream (wraps the wmcodecdsp resampler as a WaveStream)
  • DMO enumeration — DmoEnumerator for discovering installed audio DMOs
  • DirectSound playback — DirectSoundOut, the legacy DirectSound output path

When to use it

DMO and DirectSound are legacy Windows audio APIs. Reach for them when you need a built-in Windows effect (echo, reverb, chorus, etc.) without pulling a third-party DSP library, or when targeting older code paths that already rely on DirectSoundOut. For new code, prefer MediaFoundationResampler (in NAudio.Wasapi) over ResamplerDmoStream, and WasapiPlayerBuilder over DirectSoundOut.

This package was carved out of NAudio.Wasapi for NAudio 3 so consumers who only want WASAPI / MediaFoundation don't transitively pull DMO and DirectSound interop.

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

License

MIT.

Showing the top 20 packages that depend on NAudio.Dmo.

Packages Downloads
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.
3
NAudio
NAudio, an audio library for .NET
3
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.
2

* Sample and tool apps now roll forward onto newer .NET runtimes, so running them no longer requires the .NET 9 runtime to be installed * Fixed the `NAudio` and `NAudio.Extras` meta-packages resolving their portable `net9.0` asset on projects targeting a plain `netX.0-windows` TFM (the WinForms/WPF template default), which silently dropped the entire Windows stack — no `WaveOut`, WASAPI, Media Foundation, ASIO, DMO or WinForms types, and `AudioFileReader` throwing "MP3 file reading requires the NAudio.Wasapi package". Both packages now also ship a plain `net9.0-windows` leg (#1407) * **Breaking:** `AudioFileReader` now throws `NotSupportedException` instead of `InvalidOperationException` when the cross-platform build is asked for a format it cannot read, and the messages simply state that rather than suggesting an `NAudio.Wasapi` install that could never have helped (#1407) * Projects on a plain `netX.0-windows` TFM may now see `CA1416` warnings when calling WASAPI process-loopback capture. The warning is correct — those callers do need an `OperatingSystem.IsWindowsVersionAtLeast(10, 0, 19041)` guard — and was previously hidden because the only Windows asset available already implied that floor (#1407) * Fixed `AiffFileReader` reporting too long a `Length` and throwing `IndexOutOfRangeException` when the SSND chunk declares a non-zero offset (#1405) * Fixed `AiffFileReader.Read` throwing `IndexOutOfRangeException` when the source stream returns fewer bytes than requested (#1405)

.NET 9.0

Version Downloads Last updated
3.1.1-preview.2 0 09/21/2026
3.1.1-preview.1 2 09/15/2026
3.1.0 2 09/15/2026
3.1.0-preview.2 2 09/15/2026
3.1.0-preview.1 2 09/15/2026
3.0.2-preview.2 2 09/15/2026
3.0.2-preview.1 2 09/15/2026
3.0.1 2 09/15/2026
3.0.1-preview.1 2 09/15/2026
3.0.0 2 09/15/2026
3.0.0-preview.20 2 09/15/2026
3.0.0-preview.19 2 09/15/2026
3.0.0-preview.18 2 09/15/2026
3.0.0-preview.17 2 09/15/2026
3.0.0-preview.16 2 09/15/2026
3.0.0-preview.15 2 09/15/2026
3.0.0-preview.14 2 09/15/2026
3.0.0-preview.10 2 09/15/2026
3.0.0-preview.9 2 09/15/2026
3.0.0-preview.8 2 09/15/2026
3.0.0-preview.7 2 09/15/2026
3.0.0-preview.6 2 09/15/2026