Take the 2-minute tour ×  I am trying to use NAudio to create a
multiple sound output application. We have 8 USB sound cards
installed. NAudio lets me use all 8 but I can't figure out a
pattern for determining which device index is which card.  The
cards will be hooked up to different hardware so it is important
to make sure you know which card you are using.  I have been
trying to use WMI to poll for the information but I can't seem
to locate any information that determines the order of the sound
devices.  Update: I forgot to include some information about
this problem. The sound cards are all USB sound cards hooked up
through a 12 port hub.  share|improve this question add comment
4 Answers  up vote 2 down vote accepted  The order of devices is
non deterministic for all versions of Windows. For Vista and
above, the devices are typically ordered by the DSound GUID
(more-or-less) so they're effectively random.  share|improve
this answer Pretty much what I was thinking but I think I have a
hack to figure it o