Bewerken

Delen via


Installing a Port Class Audio Adapter

This section describes the device-class-specific information that a vendor should include in an INF file to install a port-class audio adapter. For a description of the general INF file requirements and options for all device classes, see Device Installation Overview.

The description of the required INF file entries in this section is based on a hypothetical XYZ Audio Device. The driver for this device is contained in a file named Xyzaudio.sys. Example Manufacturer, Models and DDInstall sections for the device are shown in the following:

  [Manufacturer]  ; Manufacturer section
  %ManufacturerName%=XYZ-Audio-Device, NTX86
  [XYZ-Audio-Device.NTX86]  ; Models section
  %XYZ-Audio-Device-Description%=XYZ-Audio-Device.Registration, <Plug and Play hardware ID>
  [XYZ-Audio-Device.Registration.NTX86]  ; DDInstall section
  Include=ks.inf, wdmaudio.inf
  Needs=KS.Registration, WDMAUDIO.Registration
  AddReg=XYZ-Audio-Device.AddReg

For more information, see INF Manufacturer Section, INF Models Section, INF DDInstall Section and INF AddReg Directive. The values of the Include and Needs directives are explained in Installing Core System Components for an Audio Adapter and Installing in Windows.

For additional examples, see the INF files included in the SYVAD audio sample. For more information, see Sample Audio Drivers and Universal Windows Drivers for Audio.

The following topics present examples of the key sections in the INF file that installs the device:

Specifying Version Information for an Audio Adapter

Installing Device Interfaces for an Audio Adapter

Installing Core System Components for an Audio Adapter

Installing Windows Multimedia System Support for an Audio Adapter

Installing an Audio Adapter Service in Windows

Customizing Control Panel

Miscellaneous Installation Issues for an Audio Adapter