these are Debug.Asserts and are warning you that you did not dispose of something correctly. There are some heavy-handed ways of disabling Debug.Assert (e.g. http://stackoverflow.com/questions/2854024/how-to-prevent-debug-assert-to-show-a-modal-dialog). Alternatively, get the NAudio code and do a release build and these won't be included. In the future I plan for official releases of NAudio to be done with release builds, but I have tended to use debug builds in the past as I find these asserts helpful for tracking down problems.
↧