;
;C-Media USB Audio Class 1.0/2.0 UAA Driver
;

[Version]
signature="$WINDOWS NT$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%CMEDIA%
Catalogfile=CMUAC.cat
DriverVer=07/14/2011,5.12.1.16

[SourceDisksNames]
1000=%cdname%,,,

[SourceDisksFiles]
CMUAC.SYS=1000

[SourceDisksFiles.x86]
CMUAC.SYS=1000,\x86

[SourceDisksFiles.amd64]
CMUAC.SYS=1000,\x64

[DestinationDirs]
DefaultDestDir=12
CMUAC.CopyFiles=12

[CMUAC.CopyFiles]
CMUAC.SYS

[Manufacturer]
%CMEDIA%=C-MEDIA,NTamd64

[C-MEDIA]
%CMUAC.DeviceDesc%=CMUAC,USB\VID_0D8C&PID_0102&MI_00
%CMUAC.DeviceDesc%=CMUAC,USB\VID_0D8C&PID_016F&MI_00
%CMUAC.DeviceDesc%=CMUAC,USB\VID_2516&PID_9494&MI_00

[C-MEDIA.NTamd64]
%CMUAC.DeviceDesc%=CMUAC,USB\VID_0D8C&PID_0102&MI_00
%CMUAC.DeviceDesc%=CMUAC,USB\VID_0D8C&PID_016F&MI_00
%CMUAC.DeviceDesc%=CMUAC,USB\VID_2516&PID_9494&MI_00

;---------------------------------------------------------------
;                x 86  D D I n s t a l l
;---------------------------------------------------------------

[CMUAC.NTx86]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
AddReg=CMUAC.AddReg
CopyFiles=CMUAC.CopyFiles

;---------------------------------------------------------------
;                A M D 64  D D I n s t a l l
;---------------------------------------------------------------

[CMUAC.NTamd64]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
AddReg=CMUAC.AddReg
CopyFiles=CMUAC.CopyFiles

;---------------------------------------------------------------
;                I n t e r f a c e s
;---------------------------------------------------------------

[CMUAC.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPEAKER.WAVE%,Audio.I.SPEAKER.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_SPEAKER.WAVE%,Audio.I.SPEAKER.WAVE
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPEAKER.TOPO%,Audio.I.SPEAKER.TOPO
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_MICIN.TOPO%,Audio.I.MICIN.TOPO

[CMUAC.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPEAKER.WAVE%,Audio.I.SPEAKER.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_SPEAKER.WAVE%,Audio.I.SPEAKER.WAVE
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPEAKER.TOPO%,Audio.I.SPEAKER.TOPO
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_MICIN.TOPO%,Audio.I.MICIN.TOPO

[Audio.I.SPEAKER.WAVE]
AddReg=CMUAC.I.SPEAKER.WAVE.AddReg

[Audio.I.MICIN.WAVE]
AddReg=CMUAC.I.MICIN.WAVE.AddReg

[Audio.I.SPEAKER.TOPO]
AddReg=CMUAC.I.SPEAKER.TOPO.AddReg

[Audio.I.MICIN.TOPO]
AddReg=CMUAC.I.MICIN.TOPO.AddReg

;---------------------------------------------------------------
;                A d d R e g
;---------------------------------------------------------------
[CMUAC.AddReg]
HKR,,Driver,,CMUAC.sys
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,NTMPDriver,,"CMUAC.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"
HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\aux\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,%CMUAC.Audio.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%CMUAC.Audio.DeviceDesc%
HKR,Drivers\midi\wdmaud.drv,Description,,%CMUAC.Audio.DeviceDesc%
HKR,Drivers\aux\wdmaud.drv,Description,,%CMUAC.Audio.DeviceDesc%

[CMUAC.I.SPEAKER.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%CMUAC.SPEAKER.WAVE.szPname%

[CMUAC.I.MICIN.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%CMUAC.MICIN.WAVE.szPname%

[CMUAC.I.SPEAKER.TOPO.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%CMUAC.SPEAKER.TOPO.szPname%

[CMUAC.I.MICIN.TOPO.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%CMUAC.MICIN.TOPO.szPname%

;---------------------------------------------------------------
;                S e r v i c e s  
;---------------------------------------------------------------

[CMUAC.NTx86.Services]
AddService=CMUAC, 0x00000002, CMUAC.ServiceInstall

[CMUAC.NTamd64.Services]
AddService=CMUAC, 0x00000002, CMUAC.ServiceInstall

[CMUAC.ServiceInstall]
DisplayName=%CMUAC.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\CMUAC.SYS

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]
; non-localizeable
Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"

KSNAME_SPEAKER.WAVE="SPKOut00Wave"
KSNAME_SPEAKER.TOPO="SPKOut00Topo"
KSNAME_MICIN.WAVE="MicIn00Wave"
KSNAME_MICIN.TOPO="MicIn00Topo"


SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
REG_DWORD=0x00010001

;localizeable
CMEDIA="C-MEDIA Inc."
CMUAC.DeviceDesc="USB Audio Class 1.0 and 2.0 Device Driver"
CMUAC.SPEAKER.WAVE.szPname="CMUAC Speaker"
CMUAC.MICIN.WAVE.szPname="CMUAC MicIn"
CMUAC.SPEAKER.TOPO.szPname="CMUAC Speaker Mixer"
CMUAC.MICIN.TOPO.szPname="CMUAC MicIn Mixer"
CMUAC.Audio.DeviceDesc="CMUAC Audio"
cdname="USB Audio Class 2.0 Device Installation Disk"
