Repository navigation
Bump NAudio.Wasapi from 3.2.0 to 3.3.0 - #91
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
--- updated-dependencies: - dependency-name: NAudio.Wasapi dependency-version: 3.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Owner
|
Compass review: ready to merge (compass-merge, 2026-10-27, head d114194) Head Tests
Review
Timing: the 0.11.4 candidate (LEDGER C-072) was built before this bump, so landing it after the 0.11.4 tag keeps the released build the tested one. The agents merge only |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated NAudio.Wasapi from 3.2.0 to 3.3.0.
Release notes
Sourced from NAudio.Wasapi's releases.
3.3.0
A packaging and nullability release. The
NAudiometa-package is now a singlenet9.0package that brings the Windows backends (WinMM and WASAPI) to plainnetX.0projects, so anet10.0console app on Windows gets working MP3decoding and playback rather than a cross-platform subset that threw
NotSupportedException. In exchange it no longer pulls inNAudio.Asio,NAudio.DmoorNAudio.WinForms, which must now be referenced directly ifused.
NAudio.WinMM,NAudio.Asio,NAudio.DmoandNAudio.Vst3likewisenow target plain
net9.0.Every NAudio package is now compiled with nullable reference types enabled.
This is a source-level change with no binary breaks, but projects with
nullable enabled may see new warnings, and a number of members that used to
throw
NullReferenceExceptionnow throwObjectDisposedExceptionorInvalidOperationExceptioninstead.The fixes centre on
WasapiRecorder/WasapiCapturerestarting cleanly afterboth successful and failed starts, buffer and handle lifetime bugs in the
winmm MIDI backend, and frame-aligned seeking in
MediaFoundationReader.NAudiometa-package is now a singlenet9.0package that pulls inNAudio.Core,NAudio.Midi,NAudio.WinMMandNAudio.Wasapion every target framework. A plainnetX.0project on Windows (e.g. a console app onnet10.0) now getsMp3FileReader,WaveOut,WasapiPlayerand anAudioFileReaderthat reads MP3, where previously it silently got a cross-platform subset that threwNotSupportedException(#1472). It no longer includesNAudio.Asio,NAudio.DmoorNAudio.WinForms: add those packages if you useAsioOut/AsioDevice,DirectSoundOutor the DMO effects, orWaveOutWindow/WaveInWindow/theNAudio.Guicontrols.AudioFileReadernow chooses its Media Foundation/ACM paths at runtime, and off Windows itsNotSupportedExceptionmessages point toNAudio.SoundFile.NAudio.Extrasis now single-targetnet9.0, withAudioPlaybackEnginemarked Windows-only (#1485)NAudio.WinMM,NAudio.Asio,NAudio.DmoandNAudio.Vst3now target plainnet9.0instead ofnet9.0-windows, matchingNAudio.Wasapi. They remain Windows-only, enforced by[SupportedOSPlatform("windows")], but can now be referenced directly from a plainnetX.0project (calls showCA1416warnings unless guarded or the project is marked Windows-only) and built on Linux/macOS withoutEnableWindowsTargeting. No change for projects targetingnetX.0-windows(#1482)NAudio.Coreis now compiled with nullable reference types enabled, so its public API carries nullability annotations (e.g.WaveFileReader.ReadNextSampleFrameandMp3Frame.LoadFromStreamreturn nullable types, andMp3Frame.RawDataisbyte[]?when a frame is read without its data). This is a source-level change only: there are no binary breaks, but projects with nullable enabled may see new warnings, and overrides of NAudio.Core virtual members may need matching annotations.XingHeader.LoadXingHeadernow returnsnullfor a frame read without its data instead of throwing. Thanks to @Seb-stian (#1452)NAudio.Midiis now also compiled with nullable reference types enabled (e.g.MidiInMessageEventArgs.MidiEventandNoteOnEvent.OffEventare nullable). Source-level change only; projects with nullable enabled may see new warnings.MidiEvent.ReadNextEventnow throwsFormatExceptioninstead ofNullReferenceExceptionfor running status with no previous event, andRawMetaEventtreats null data as empty (#825)NAudio.WinMMis now compiled with nullable reference types enabled (e.g.AcmDriver.FindByShortNameandWaveCapabilitiesHelpers.GetNameFromGuidreturn nullable types, andAcmDriver.ShowFormatChooseDialoghas nullableoutparameters). Source-level change only; projects with nullable enabled may see new warnings.WaveOut.OutputWaveFormatbeforeInitnow throwsInvalidOperationException,AcmStreammembers throwObjectDisposedExceptionafter dispose, andGetNameFromGuidreturns null instead of throwing when the registry key is missing, where each previously threwNullReferenceException(#825)SoundFileTagsfields,SoundFileWriterOptions.TagsandSoundFileException.Functionare nullable, and theTryLoadmethods onWaveSampleLoader/ISfzSampleLoadermarkleftas non-null on success andrightas null for mono). Source-level change only; projects with nullable enabled may see new warnings, and customISfzSampleLoaderimplementations may need matching annotations (#825)WaveViewer.WaveStream,AlsaException.Functionand the control/device events are nullable). Source-level change only; projects with nullable enabled may see new warnings.AlsaOut.OutputWaveFormatandWaveOutWindow.OutputWaveFormatnow throwInvalidOperationExceptionbeforeInit(previously null andNullReferenceExceptionrespectively), andWaveOutWindow.PlaybeforeInitthrowsInvalidOperationExceptioninstead ofNullReferenceException(#825)NAudio.Asiois now compiled with nullable reference types enabled (e.g. the optionalAsioPlaybackOptions.OutputChannels/AsioDuplexOptions.InputChannels, theAsioDevice/AsioOutevents and theAsioDriverExtcallbacks are nullable; required option members such asSourceandProcessorstay non-nullable). Source-level change only; projects with nullable enabled may see new warnings.AsioOutmembers now throwObjectDisposedExceptionafterDisposeandAsioOut.OutputWaveFormatthrowsInvalidOperationExceptionwhen no playback source is initialised, where they previously threwNullReferenceExceptionor returned null (#825)NAudio.Dmois now compiled with nullable reference types enabled (e.g.DirectSoundOut.PlaybackStoppedandDirectSoundDeviceInfo.ModuleNameare nullable). Source-level change only; projects with nullable enabled may see new warnings.DirectSoundOut.OutputWaveFormatnow throwsInvalidOperationExceptionbeforeInitinstead of returning null, and theMediaObjectwrappers,DmoResampler.MediaObject,WindowsMediaMp3Decoder.MediaObjectandDmoOutputDataBuffer.MediaBufferthrowObjectDisposedExceptionafterDisposeinstead of returning null or throwingNullReferenceException(#825)NAudio.CoreAudioApiandNAudio.MediaFoundationtypes are now annotated for nullable reference types (e.g.AudioClient.TryGetAcousticEchoCancellationControl,MMDeviceEnumerator.TryGetDefaultAudioEndpoint,MfSourceReader.ReadSample,PropertyStoreProperty.ValueandPart.AudioVolumeLevel/AudioMute/JackDescriptionare nullable);WasapiOut,WasapiCaptureand the other top-level classes follow in a separate change. Source-level change only; projects with nullable enabled may see new warnings. The CoreAudio and Media Foundation COM wrappers now throwObjectDisposedExceptionwhen used afterDisposeinstead ofNullReferenceException,AudioSessionManager.SessionsthrowsInvalidOperationExceptioninstead of returning null when sessions are unavailable, andAudioSessionControl.AudioMeterInformation/SimpleAudioVolumethrowNotSupportedExceptioninstead of returning null if the session does not expose those interfaces (#825)WasapiOut,WasapiCapture,WasapiPlayer,WasapiRecorder, their builders andMediaFoundationReader/StreamMediaFoundationReader/MediaFoundationEncoderare now annotated too, completing NAudio.Wasapi (e.g.WasapiPlayer/WasapiRecorder.DeviceIdandDeviceFriendlyName,LowLatencyUnavailableReason,WasapiRecorder.AcousticEchoCancellationControl,WasapiPlayer.GetSupportedExclusiveFormat,MediaFoundationEncoder.SelectMediaTypeand the playback/recording events are nullable). Source-level change only; projects with nullable enabled may see new warnings. The WASAPI classes now throwObjectDisposedExceptionwhen used afterDispose, and reportInvalidOperationExceptioninstead ofNullReferenceExceptionthroughPlaybackStoppedwhen playback is started withoutInit(#825)NAudio.MacOSis now compiled with nullable reference types enabled (e.g.AudioSystemObject.DefaultInputDevice/DefaultOutputDevice, theConvertUIDToDevice-style lookups,AudioObject.Owner,AudioDevice.Icon,ExtendedAudioFileReaderSettings.OutputFormat,ExtendedAudioFileWriterSettings.FileType/ProvidingFormatand the player, recorder and property-listener events are nullable). Source-level change only; projects with nullable enabled may see new warnings. Object-list properties such asAudioSystemObject.Devicesnow skip unknown object IDs instead of returning null entries, the parameterlessCoreAudioPlayer/CoreAudioRecorderconstructors throwInvalidOperationExceptioninstead ofArgumentNullExceptionwhen there is no default device, andExtendedAudioFileWritercapturesProvidingFormatwhen created rather than re-reading the settings object on every write (#825)WasapiRecorderandWasapiCapturefailing withAUDCLNT_E_ALREADY_INITIALIZEDwhen restarted after a start that failed late in initialization (e.g. no AEC reference control); the original error is now reported again (#1493)WasapiRecorderandWasapiCapturebeing left in theStartingstate when initialization throws, so laterStartRecordingcalls failed with"Already recording". (#1490)WasapiRecordernot able to re-start after successfully stopping the recorder. (#1479)MidiOut.SendBufferno longer frees a sysex buffer while the driver may still own it,MidiInnow stops input before resetting it, and neither class calls into winmm with a handle it never opened.MidiOut.SendBuffernow blocks until the driver releases the buffer and throwsMmExceptionif the send fails (#1478)MediaFoundationReaderreporting aPositionthat was not a whole number of frames after seeking a compressed file (e.g. MP3 or AAC), up to a frame before the requested position, and aLengththat could include a partial frame. Seeks now round down to a frame boundary and land exactly on it (#1488)Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)