Using soundlib.lib

Kernel-mode audio drivers can use the soundlib.lib library. For waveform, MIDI, auxiliary audio, and mixer drivers, soundlib.lib provides the following:

For information on IRPs and I/O control codes for multimedia drivers, see the Kernel-Mode Drivers Reference.

You can use soundlib.lib to make creating a new kernel-mode driver easier. To use soundlib.lib, link it with your kernel-mode driver. You’ll need to include some or all of the following header files:

devices.h

mtddmix.h

midi.h

ntddwave.h

mixer.h

soundcfg.h

mmsystem.h

soundlib.h

ntddk.h

synthdrv.h

ntddaux.h

wave.h

ntddmidi.h

If you include soundlib.h, it includes many, but not all, of the other header files listed.

Source code for soundlib.lib is included with this DDK, at the directory path listed in Sample Audio Drivers.

Descriptions of the functions and structures provided by soundlib.lib can be found in the Audio Driver Reference.