You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When handling certain cases of corrupted audio, WaveFormatConversionProvider's conversionStream is null, possibly due to strange things happening with Windows Multimedia. It seems conversionStream isn't checked for null and throws an exception in Dispose(). This crash occurs in my own testing and in NAudioWpfDemo, 5-10 seconds after attempting to load the file.
I am not well-versed in .NET, but this condition is a problem because I'm unable to trap the exception in try-catch from external code.
When handling certain cases of corrupted audio,
WaveFormatConversionProvider
'sconversionStream
is null, possibly due to strange things happening with Windows Multimedia. It seemsconversionStream
isn't checked for null and throws an exception in Dispose(). This crash occurs in my own testing and in NAudioWpfDemo, 5-10 seconds after attempting to load the file.I am not well-versed in .NET, but this condition is a problem because I'm unable to trap the exception in try-catch from external code.
File link (too big for GitHub) here.
The text was updated successfully, but these errors were encountered: