[wdmaudiodev] obtaining a mixer for a given device interface

  • From: Pete Gontier <pete@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 20 Jul 2005 22:22:25 -0700

I¹m iterating over all audio devices using SetupDiEnumDeviceInterfaces.
Having obtained a device interface which is interesting, I need to open the
corresponding mixer if one exists. To find the mixer, I iterate over all
mixers using mixerGetDevCaps. My problem is I don¹t know what tests to
perform to determine whether each mixer corresponds to a particular device
interface. There are many wrong ways to do this because there are many
strings and properties to choose from which almost look right. I have
already ruled out many options as too ambiguous. Has anybody done something
like this before? 

? Pete Gontier <http://www.m-audio.com/>


Other related posts: