title: WindowsMediaPlayer (WMPLib) audio dies suddenly
body: <p>I am trying to play audio in my winforms application. To do so, I use this:</p>
  
  <pre><code>           WMPLib.WindowsMediaPlayer wplayer = new WMPLib.WindowsMediaPlayer();
             string path = "C:\\Windows\\Media\\Ring10.wav";
             wplayer.URL = path;
             wplayer.controls.play();
  </code></pre>
  
  <p>I use the WindowsMediaPlayer class because other classes will not play audio in the format that my audio file is in. The code above works until I add <code>Process.GetProcesses();</code> or <code>Process.GetProcessesByName...</code> to a timer's tick event.</p>
  
  <pre><code>    private void timer1_Tick(object sender, EventArgs e)
      {
          Process[] processes = Process.GetProcesses();
      }
  </code></pre>
  
  <p>The first time the timer ticks and executes <code>Process.GetProcesses();</code>, the audio continues to play.  However, the second time the timer ticks the audio is stopped. This happens if the timer is in the same form as the one playing the audio or in a different one. I have no idea why this would be happening. What is causing this issue?</p>