title: Replace the audio stream of a video using NAudio
body: <p>I have 2 files. Both are the same length (in seconds):</p>
  
  <ol>
  <li>a video file (H.264, .mov)</li>
  <li>an audio file (PCM, .wav)</li>
  </ol>
  
  <p>How do I use the NAudio .NET library in my C# application to overwrite the audio of file #1 with the audio from file #2? I want to write the final result to disk as a new video file.</p>
  
  <p>I believe this is possible using the Media Foundation capabilities of NAudio 1.7, but I can't figure out how to modify the audio stream of a video file and re-save the video.</p>