# Object-Oriented OS/2 PCI Audio Device Driver Sample

## Introduction

The new and modified object-oriented (OO) OS/2 PCI Audio Device Driver Sample is provided to make it easier for you to develop an OS/2 PCI audio driver, using the existing OO OS/2 Audio Device Driver Model. It is intended to serve as a roadmap for developing an OS/2 PCI audio device driver.

This sample exploits the OS/2 Resource Manager for identification and allocation of I/O resources for PCI Plug and Play adapters. This sample driver contains sample code to detect audio devices from the PCI bus and to create, allocate and register resources with the OS/2 Resource Manager.

## Build Instruction

This sample is coded with the Watcom 11.0 compiler. You need to install Watcom 11.0 compiler and follow the OO Audio sample driver build instructions, which can be found from the Device Driver Online Documentation ''Using Your DDK' Build Instructions', to set up your DDK build environment. After your build environment is set up, you can then invoke 'wmake' from the ddk\base\src\dev\mme\pciaudio directory to compile the sample driver.

## Trademarks

The following are trademarks of International Business Machines Corporation in the United States, or other countries, or both:

- IBM
- OS/2

  © Copyright International Business Machines Corporation 1999. All rights reserved.