When using the NAudioWPFDemo, and subsequently code I've created based on it, I have an issue as follows:
- Load a file
- Play the file
- Stop playback mid file
Now if I play another sound file, via the app, or even just clicking the volume mixer in Windows to play the system bell, I'll hear a burst of the audio from the previous clip.
It seems that when the playback is stopped the current buffer isn't flushed?
Is this an issue specific to my audio card/driver, or is this a bug in the code?