Just wanted to post in case it is useful to other users. Replacing WaveOut with WaveOutEvent in one of our classes fixed a similar deadlock situation we were experiencing when playing a wav file repeatedly in the same run of the application. The first play would be successful then subsequent attempts would lock the application. Quite literally all we had to do was swap the classes and the problem cleared. Thanks Mr. Heath, extraordinarily useful project!
↧