This project has moved and is read-only. For the latest updates, please go here.

Exception in Mp3FileReader ctor

Jun 24, 2011 at 3:31 AM

I am using the Mp3FileReader, via the Mp3FileReader ( string mp3FileName ) constructor. There are a few places in there that can explode (Exception) and this is causing problems, mainly resources not being cleaned up. Since this is an error during a ctor, the object does not get initialized nor disposed. I think it should be refactored to use the static Create pattern, like System.Net.HttpWebRequest does. Thoughts?

Jul 1, 2011 at 9:38 PM

I'm not likely to change the public interface as that would be a breaking change. Mp3FileReader will hopefully get some more refactoring attention in the future, so I'll bear this in mind.