Please note This is NOT a duplicate of the other question linked. That uses classes I couldn't find, as detailed in my question below.
I'm trying to convert wma files to mp3. I need a solution that I can integrate into my code base, not rely on an external resource, so using ffmpeg isn't an option. I've been trying NAudio, but without any success.
One problem is that there seem to be two versions of NAudio around, and neither seems complete. The one you get from Nuget doesn't include the WMAFileReader class, so there's no way (that i can see) to read wma files. The version on github includes the WMAFileReader class, but doesn't seem to include the Mp3Writer class, nor the WaveLib class I've seen in many examples.
So, anyone know how I can get something that will do the job? I've wasted hours trying different code samples, but none of them seem to work with either version of NAudio I can find.
Ideally, I would like to do this in memory, but if I have to write to temporary disk files, it's not the end of the world.
Edit I just discovered that there are more NAudio nuget packages that extend the basic one. There is one for Lame and one for WMA, but even after installing them, I can't get any code to work.