title: Unity doesn't recognize microphone, but Windows does
body: <p>So I got a little problem, I'm trying to get a recording using my microphone in Unity. The mic is plugged-in and is recognized by Windows. Recordings with Audacity are working too.
  In Unity however the microphone is not recognized. </p>
  
  <pre><code>    foreach (string device in Microphone.devices)
      {
          print("Name: " + device);
      }
  </code></pre>
  
  <p>This code gives nothing back, and this isn't giving me any errors either:</p>
  
  <pre><code>    yield return Application.RequestUserAuthorization(UserAuthorization.Microphone);
      if (!Application.HasUserAuthorization(UserAuthorization.Microphone))
      {
          throw new NotSupportedException("Microphone using not authorized");
      }
  </code></pre>
  
  <p>This as a result gives me an IndexOutOfRangeException:</p>
  
  <pre><code>Microphone.Start(Microphone.devices[0], false, 10, 16000);
  </code></pre>
  
  <p>Did I forget anything? I tried it with 2 different microphones, but both are not recognized within Unity, even though Windows can see them.</p>