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

New Post: NAudio now playing FLAC files!

$
0
0
I managed to re-produce the problem.
It is not a private case - the get current position logic was done incorrectly in FLACReader/NAudioFlac.
The root cause is (well me) the weird and inconsistent way libFlac works, in particular the FLAC__stream_decoder_get_decode_position() function that returns the byte position in the frame which is useless.
I figured out how to get the current playing sample number in a different way.
My fixed version sets and gets proper time values - still under testing.
Once I verify this fix is good, I will commit to Practice# SVN - To update NAudioFlac and also Practice# App.

Thanks
Yuval

Viewing all articles
Browse latest Browse all 5831

Trending Articles



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