NAudio Versions Save

Audio and MIDI library for .NET

v2.2.1

7 months ago
  • WdlResampler is now public
  • WASAPI uses background threads
  • MmException can return function name
  • ErrorCodes provides all the AUDCLNT_E HRESULT values from audioclient.h
  • AiffFileWriter chunk size bugfix
  • Support for Device Topology API (IPart, IAudioAutoGainControl, IAudioMute, IAudioVolumeLevel , IControlChangeNotify, IControlInterface, IKsJackDescription, IPerChannelDbLevel)
  • Add ComImport attribute to CoreAudioApi interfaces
  • Ability to set attribute on MediaType, and to specify MediaFoundationEncode buffer size
  • WASAPI stop improvements
  • FLAC and ALAC added to audio subtypes list
  • MediaFoundationEncoder bugfixes for null reference
  • Sysex dispose bugfix
  • Note: this replaces v2.2.0. Incorrectly versioned NAudio.Wasapi.dll (was 22.0) retired and replaced with 2.2.1

v2.1.0

2 years ago

NAudio Version 2.1.0

  • Improved targeting to make it easier to use on non-Windows platforms
  • AudioFileReader will use MediaFoundationReader as the default for MP3s
  • Minimum supported Win 10 version is now uap10.0.18362 (SDK version 1903)
  • IWavePlayer now has an OuputWaveFormat property
  • WasapiCapture and WasapiLoopbackCapture support sample rate conversion so you can capture at a sample rate of your choice
  • WasapiOut supports built-in sample rate conversion in shared mode
  • MediaFoundationEncoder allows you to encode to a Stream

v2.0.0

3 years ago

NAudio Version 2

  • Broken into multiple satellite assemblies
  • Switched to MIT license
  • Dropped .NET 3.5 support
  • Strong naming

Full details available here: https://markheath.net/post/naudio-2-plans

v1.10.0

4 years ago
  • #574 Support ASIO and WaveIn/WaveOut in .NET Core 3.0
  • #441 recognise MP3 Xing headers with 'Info' magic
  • #584 Fixes to WasapiOut.GetPosition
  • #515 Switched from Fake to Cake build script

v1.8.1

6 years ago
  • AsioOut exposes FramesPerBuffer
  • change WaveOut and WaveOutEvent default DeviceNumber to -1 (Mapper)
  • Added MidiFile constructor overload that takes an input Stream object.
  • Various bugfixes and enhancements:
    • desktop apps use MFCreateMFByteStreamOnStream instead of MFCreateMFByteStreamOnStream
    • Fix for propvariant marshalling #154
    • Soundfont should not require isng chunk #150
    • Fixed potential MFT memory leak
    • Mp3FileReader.ReadFrame advances Position #161
    • sfzfilereader class obsoleted
    • ensure DriverName property always set on AsioOut. #169
    • WaveFormatConversionProvider can throw an error in finalizer #188
    • Restore compatibility with .NET Portable. #189
    • improved error message for channel index out of range #208
    • Added Releasing of Com Object to AudioEndpointVolume Dispose

v1.8.2

6 years ago
  • AudioFileReader supports filenames ending with .aif
  • Various bugfixes and enhancements:
    • fixing problem with Mp3FileReader position advancing too rapidly #202
    • Implemented IDisposable in MMDevice
    • fix dispose of AudioSessionManager

v1.8.3

6 years ago
  • Allow access to property store of MMDevice
  • Various bugfixes and enhancements:
    • Support unicode in MIDI TextEvent
    • Fixed noise issue on restart DirectSoundOut
    • improved support for mono AAC #223
    • fix NullReferenceException opening AsioOut by index #234

v1.8.4

6 years ago

1.8.4

  • Windows 10 Universal build now included in NuGet package
  • adding a TotalTime property to WaveFileWriter
  • adding a Broadcast Wave File Writer
  • Various bugfixes and enhancements:
    • Prevent audio files from staying locked
    • additional constructor for MultiplexingWaveProvider
    • Faster SilenceWaveProvider implementation #257
    • fixing calling stoprecording without ever starting recording on WaveIn
    • improved reliability in WaveInEvent
    • make non-strict MIDI file checking tolerant of invalid CC values #250
    • Adding defaults for StereoToMonoProvider16 volumes #267

NAudio_1.8_Release

7 years ago

Updated with many bug-fixes and new features

  • Windows 10 Universal project. Very similar feature set to the Win 8 one.
    • Added a Windows 10 Universal demo app with limited functionality
  • Windows 10 related bugfixes
    • WasapiOut fixed for Win 10
  • WaveFileWriterRT for Win 8/10 (thanks to kamenlitchev)
  • Improvements to Mp3FileReader seeking and position reporting (thanks to protyposis)
  • updated NAudio build process to use FAKE, retiring the old MSBuild and IronPython scripts
  • NAudio.Wma project is moved out into its own GitHub repository
  • ConcatenatingSampleProvider and FollowedBy extension method making it easy to concatenate Sample Providers
  • MixingSampleProvider raises events as inputs are removed and allows access to list of inputs
  • Improvements to MIDI event classes including clone support (thanks to Joseph Musser)
  • SMBPitchShiftingSampleProvider (thanks to Freefall63)
  • StreamMediaFoundationReader to allow using MediaFoundation with streams
  • New Skip, ToMono, Take, ToStereo extension methods
  • New SilenceProvider class
  • OffsetSampleProvider fix for leadout following take
  • Various bugfixes and enhancements. See commit log for full details
    • WasapiCapture buffer sizes can be specified
    • MMDeviceEnumerator is disposable
    • MidiMessage better error reporting
    • More robust AIFF file handling
    • Fixed threading issue on WasapiCaptureRT
    • WasapiCaptureRT returns regular IEEE WaveFormat instead of WaveFormatExtensible
    • RawSourceWaveStream allows you to read from part of input array
    • RawSourceStream handles end of stream better
    • PropVariant supports VT_BOOL
    • Better handling of exceptions in WaveFileReader constructor
    • WasapiOut default constructor (uses default device, shared mode)
    • WasapiCapture and WasapiLoopbackCapture can report capture state
    • BufferedWaveProvider can be configured to not fully read if no data is available
    • WasapiOut can report the default mix format for shared mode
    • AsioDriver and AsioDriver ext now public
    • Fix for Xing header writing
    • Fixed XING header creation bug
    • Fixed MIDI to type 1 converter bug