Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: [NAudioWPFDemo] Not flushing on Stop?

$
0
0

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? 


Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>