Is it possible to get a list of audio cards (not endpoints) in Win32?
This information would be really useful when constructing full-duplex audio streams, to be sure both input and output share the same hardware clock.
So far, I found PKEY_DeviceInterface_FriendlyName
, which comes close, but probably cannot be used when 2 exact same audio cards are plugged in.
I also found Enumerating audio adapters in WinAPI, and while the WMI query in the accepted answer retrieves the results I'm looking for, I see no easy way to correlate those to a WASAPI endpoint device id.