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

New Post: wma arggggggg

$
0
0

yes, this is one of the best ways to do repositioning with multithreaded code. You basically just set a reposition flag (still needs to be threadsafe). The only disadvantage is that when you reposition while paused, it looks as if nothing has happened. You also must move these lines into the Read method:

                decoderOutputCount = 0;
                decoderOutputOffset = 0;

Viewing all articles
Browse latest Browse all 5831

Trending Articles



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