Sometimes the MCI device shows Incorrect Media Length for some particular media. I searched a lot in Google and the only solution I could find is written in Delphi (Delphi Solution) I couldn't find any Delphi to C# or VB converter. Is there any workaround for this problem ? I just want my Media length to be correct.
Head to this page of a french visual basic community site.
function getmp3length(NameOfFile:string):integer
since it processes the header and expects also a file name as a parameter.Good luck!
Edit:
You can also find on The Code Project
site (in english) an interesting VB.NET project doing MP3 header manipulation. Hopefully It helps you in your conversion effort.