This project has moved. For the latest updates, please go here.

Not a recognised MP3 block

Jun 22, 2010 at 4:07 AM
Edited Jun 22, 2010 at 4:09 AM
Hi, most of the MP3's ive tried work under nAudio, but for some reason one of the sample mp3's under windows 7 doesnt. under the sample music folder, its called "Maid with the Flaxen Hair.mp3" WMP plays it without issue. here is the error. System.FormatException was unhandled Message=Not a recognised MP3 block at NAudio.Wave.Mp3Frame..ctor(Stream input) in G:\projects\media center\wpf\NAudio-1-3\Source Code\NAudio\FileFormats\Mp3\Mp3Frame.cs:line 153 cheers Anton
Jun 22, 2010 at 4:09 AM
Edited Jun 22, 2010 at 4:10 AM
ug, for some reason codeplex is killing my newlines
Coordinator
Jun 22, 2010 at 9:13 AM

Hi, I am aware of this issue. We could fix it by simply going byte by byte through the file to find the first valid MP3 frame, but I need to implement some kind of pushback input stream first so that it doesn't break streaming MP3s over the network

Mark