title: How to change WASAPI record bitrate with NAudio?
body: <p>I'm using NAudio to decode, play and record a MP3 Stream. For recording I use <code>WasapiLoopbackCapture</code> to save the stream to a wav file:</p>
  
  <pre><code>if (waveIn == null) {
    waveIn = new WasapiLoopbackCapture();
    writer = new WaveFileWriter(outputFilename, waveIn.WaveFormat);
    waveIn.DataAvailable += new EventHandler&lt;WaveInEventArgs&gt;(waveIn_DataAvailable);
    waveIn.RecordingStopped += new EventHandler(waveIn_RecordingStopped);
    waveIn.StartRecording();
  }
  </code></pre>
  
  <p>I'm now searching for a solution to save the wav file not with 3072 kBit/s (what seems to be standard for the wasApi). The mp3 stream provides 128 kBit/s, so this would be a good bitrate for my wav file. I tried to modify the <code>waveIn.WaveFormat</code> but I didn't find the right properties.</p>