Using synthlib.lib

The synthlib.lib library provides support for internal MIDI synthesizers by converting MIDI output messages into calls to MIDI FM synthesis functions. The library supports ADLIB and OPL3 synthesizers.

The library contains an alternate modMessage entry point function called modsynthMessage. If you choose to use this library, link it with your user-mode driver. The driver’s module definition file must contain the following export line:

modMessage = modsynthMessage

 

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