title: How to play a MP3 file using NAudio
body: <pre><code>WaveStream waveStream = new Mp3FileReader(mp3FileToPlay);
  var waveOut = new WaveOut();
  waveOut.Init(waveStream); 
  waveOut.Play();
  </code></pre>
  
  <p>This throws an exception:</p>
  
  <blockquote>
    <p>WaveBadFormat calling waveOutOpen</p>
  </blockquote>
  
  <p>The encoding type is "MpegLayer3" as NAudio.</p>
  
  <p>How can I play a mp3 file with NAudio?</p>