title: How to convert amr files to mp3 using C#
body: <p>I am using NAudio MFT to convert different audio formats to MP3.
  Now i want to convert amr file to MP3 using Naudio MFT. But, when i given amr file as input to MFT, it has thrown following exception "Exception from HRESULT: 0xC00D36C4". Is there any way to achieve this?</p>
  
  <h1>My C# code:</h1>
  
  <pre><code>public byte[] ConvertAMRToMP3( )
  {      
    var data = new MediaFoundationReader("..\\amr\\test.amr");
    MediaFoundationEncoder.EncodeToMP3(data, "..\\test.mp3", 128000);
    ......
  }
  </code></pre>
  
  <p>I am working on windows server 2012 64-bit platform.</p>
  
  <p>Thanks in advance.</p>