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

New Post: Audio time resolution.

$
0
0

When playing a wave file NAudio gets the time (current position) from the file reader which is cool but has one drawback.

For smooth playback it is better to have large buffers but that reduces the resolution of the current position (time).

Could we raise an event in the player when passing each buffer to the sound card to calculate the current position?

 

Cheers

 

Max


Viewing all articles
Browse latest Browse all 5831

Trending Articles



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