title: SDL_OpenAudioDevice with multiple devices
body: <p>I am currently writing an application that will output sound to 3 different audio devices. For that, I have installed 3 USB Audio Devices in my PC, all the same brand. I wanted to use SDL2 as output device (although I am open minded for other suggestions). I had a look at the documentation and it states as the first parameter (device):</p>
  
  <blockquote>
    <p>a UTF-8 string reported by SDL_GetAudioDeviceName(); see Remarks</p>
  </blockquote>
  
  <p>Now I have written a sample program, that just lists the available devices:</p>
  
  <pre><code>#include &lt;SDL2/SDL.h&gt;
  #include &lt;iostream&gt;
  
  int main()
  {
          SDL_Init( SDL_INIT_EVERYTHING );
          std::cout &lt;&lt; SDL_GetError() &lt;&lt; std::endl;
          atexit( SDL_Quit );
          int count = SDL_GetNumAudioDevices(0);
          for (int i = 0; i &lt; count; ++i)
          {
                  std::cout &lt;&lt; "Device " &lt;&lt; i &lt;&lt; ": " &lt;&lt; SDL_GetAudioDeviceName(i, 0) &lt;&lt; std::endl;
          }
          return 0;
  }
  </code></pre>
  
  <p>It enumerates all available devices. The problem is, that all 3 devices will give me the same name:</p>
  
  <pre><code>Device 0: Internes Audio Digital Stereo (IEC958)
  Device 1: C-Media Electronics, Inc. Audio Adapter
  Device 2: C-Media Electronics, Inc. Audio Adapter
  Device 3: C-Media Electronics, Inc. Audio Adapter
  </code></pre>
  
  <p>Is there any way to use something else (e.g. the USB Path) as the parameter or to make sure that I can open all 3 devices?</p>