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

New Post: Repositioning stream using Read/Seek/Skip?

$
0
0

On streams that don't support seeking, you can only move forwards and you have to use Read.

Otherwise, setting the Position/Seek basically amount to the same thing. They are only there because WaveStream inherits from Stream which has both

Skip is just a helper method that allows you to specify duration in seconds rather than bytes. It calls Position under the hood.


Viewing all articles
Browse latest Browse all 5831

Trending Articles



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