Quantcast
Channel: naudio Work Item Rss Feed
Viewing all articles
Browse latest Browse all 738

Commented Issue: MP3FileReader.Length property is not correct [16359]

$
0
0
I use the MP3FileReader to open a mp3 which is in the attachments , the total time returned is 05:09. And I use the NAudio demo to play this mp3, the sound is slower than expected.

But if I use other players like foobar to open this mp3, the total time is 03:41, and sounds normal.

I think there should be a bug in this class.
Comments: thanks for reporting. I think the problem is that the first frame in this file is 32kHz, while the rest are 44.1kHz and NAudio does not currently support sample rate changes mid-MP3 file

Viewing all articles
Browse latest Browse all 738

Trending Articles



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