|
i 'think' this is how you sort the audio devices (mics and speakers) from IMMDeviceEnumerator; to match the 'Sound' control panel GUI for Playback and Recording. found it through trial and error by plugging in a ton of USB sound cards into my notebook. first, you sort by the string system name {b3f8fa53-0004-438e-9003-51a46e139bfc},6. and if the system names are equal, then you sort by an additional guid {1da5d803-d492-4edd-8c23-e0c0ffee7f0e},8.
this should help devices that script automation of changing the default audio devices. e.g. Vista Audio Changer ... which seems to be dead?
|