I have file .wav that I need to convert in .mp3 in order to do it I am using MediaFoundation. This is approach that I use:
.wav
.mp3
MediaFoundation