NAudio.Dmo 3.1.1-preview.2

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.
18
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.
17
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.
16
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.
15
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.
14
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.
13
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.
12
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.
10
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.
9
NAudio
NAudio, an audio library for .NET
7
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.
5
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.
4

  • Fixed DirectSoundOut failing every playback with DirectSoundException 0x80004001 (or an ArgumentException for a format with extra data, e.g. one read from a WAV by WaveFileReader): the secondary buffer's WAVEFORMATEX was still a GCHandle-pinned WaveFormat instance — a site missed in the #1432 marshalling conversion, since WaveFormat no longer carries [StructLayout] — and now marshals via WaveFormat.MarshalToPtr
  • Fixed WasapiPlayer and WasapiOut being stranded in the Playing state, unable to play again, when the source's Read threw or the source ended before the first buffer was filled (#1442)
  • macOS support (preview) - A new wrappers library is added wrapping macOS native API's for playback/recording, reading/writing files and resampling audio. The NAudio.MacOS package ships pre-release only (X.Y.Z-preview.N) while its API settles, so it stays pre-release alongside stable releases of the other packages. Special thanks to @mdcdi1315 (#1325) for the work and the tests. For more information, see the design doc that describes the decisions that helped shape the wrappers. (#1398)
  • VB.NET support - Added SampleProviderBase and WaveProviderBase, base classes that keep the NAudio 2 Read(buffer, offset, count) signature for languages that cannot name a Span<T> in a method signature, and a Using NAudio from VB.NET guide covering playback, recording and custom providers from VB (#1426)

.NET 9.0

Version Downloads Last updated
3.3.0-preview.1 1 10/18/2026
3.2.0 1 10/18/2026
3.2.0-preview.1 2 10/13/2026
3.1.1-preview.2 8 09/23/2026
3.1.1-preview.1 11 09/11/2026
3.1.0 8 09/07/2026
3.1.0-preview.2 10 09/08/2026
3.1.0-preview.1 9 09/10/2026
3.0.2-preview.2 9 09/01/2026
3.0.2-preview.1 9 08/21/2026
3.0.1 9 08/20/2026
3.0.1-preview.1 12 08/20/2026
3.0.0 12 08/16/2026
3.0.0-preview.20 13 08/08/2026
3.0.0-preview.19 13 07/31/2026
3.0.0-preview.18 14 07/22/2026
3.0.0-preview.17 16 07/22/2026
3.0.0-preview.16 16 07/04/2026
3.0.0-preview.15 16 07/04/2026
3.0.0-preview.14 13 06/26/2026
3.0.0-preview.10 19 06/10/2026
3.0.0-preview.9 19 05/30/2026
3.0.0-preview.8 20 05/30/2026
3.0.0-preview.7 23 05/30/2026
3.0.0-preview.6 23 05/30/2026