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

New Post: Streaming and VBR(?)

$
0
0
Hi,

I've implemented the NAudio streaming demo, and have run into an issue that appears to be related to VBR MP3 files. The issue is that the first frame's sample rate always seems to be misinterpreted, meaning that the output will either be pitched up or down.

I could easily work around this by skipping a frame or two, or using the median from the first few frames. However, I don't have an extensive collection of VBR files to test with, and don't know what the edge cases are for this situation.

Is it possible that the Mp3Frame implementation is missing some VBR voodoo?

I wouldn't mind getting my hands dirty and contribute a proper fix, but I haven't got a clue on where to start.

Viewing all articles
Browse latest Browse all 5831

Trending Articles



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