## Using Your DDK

[prev][next][parent][TOC]

### Audio Device Resource Sample (Vendor-Specific Driver)

Driver Description:

The vendor-specific driver (VSD) resource file describes your audio device to MMPM/2. Developers of audio devices can reduce the amount of code required to add a device to MMPM/2 by using a VSD resource file. Thus, only one DLL is supplied for all the devices being added to MMPM/2.

For more information, view the book MMPM2.INF in the DDK\DOCS directory on the CD-ROM.

Compilers/Assemblers Required:

IBM C Set/2

Build Instructions:

1.Set the environment variables so the correct files are picked up during the build:

         e.g., SET INCLUDE=<drive>:\DDK\BASE\IBMH;%INCLUDE%
               SET LIB=<drive>:\DDK\BASE\LIB;%LIB%

Where <drive> represents your DDK installed drive and DDK represents the DDK installed directory. On the CD-ROM, the TOOLS directory path is DDK\ TOOLS.

2.Make sure the IBM C Set/2 library IBMCPP\LIB\DDE4MBS.LIB is in your LIB path.

    e.g., SET LIB=<CSETdrive>:\LIB;%LIB%

3.Change the directory to DDK\BASE\SRC\DEV\MME\VSDRC.

4.Invoke NMAKE on the resident makefile.

Files Created By Successful Build:

         Directory:  \DDK\BASE\SRC\DEV\MME\VSDRC

         o  SAMPLE.DLL