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

[Version]
signature="$WINDOWS NT$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%CMEDIA%
Catalogfile=CMUACWO.cat
DriverVer=02/09/2015,5.12.12.30

[SourceDisksNames]
1000=%cdname%,,,

[SourceDisksFiles.x86]
CMUACWO.sys=1000,\x86

[SourceDisksFiles.amd64]
CMUACWO.sys=1000,\x64

[DestinationDirs]
DefaultDestDir=12
CMUACWO.CopyFiles=12

[SignatureAttributes]
CMUACWO.sys=SignatureAttributes.DRM

[SignatureAttributes.DRM]
DRMLevel=1300

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

[C-MEDIA]
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0301&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0302&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0304&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0305&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0306&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0309&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0310&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0311&MI_00	;CM6610A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0312&MI_00	;CM6620A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0313&MI_00	;CM6630A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0314&MI_00	;CM6631A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0319&MI_00	;CM6631A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0315&MI_00	;CM6632A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0316&MI_00	;CM6632A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_01A8&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_01C0&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0170&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_04DA&PID_23BC&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0054&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_2A06&PID_2001&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0ECB&PID_18A7&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_22E1&PID_CA01&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0021&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0022&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0060&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0066&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_292B&PID_A33E&MI_00

[C-MEDIA.NTamd64]
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0301&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0302&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0304&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0305&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0306&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0309&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0310&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0311&MI_00	;CM6610A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0312&MI_00	;CM6620A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0313&MI_00	;CM6630A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0314&MI_00	;CM6631A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0319&MI_00	;CM6631A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0315&MI_00	;CM6632A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0316&MI_00	;CM6632A
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_01A8&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_01C0&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0170&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_04DA&PID_23BC&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0054&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_2A06&PID_2001&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0ECB&PID_18A7&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_22E1&PID_CA01&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0021&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0022&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0060&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_0D8C&PID_0066&MI_00
%CMUACWO.DeviceDesc%=CMUACWO,USB\VID_292B&PID_A33E&MI_00
;---------------------------------------------------------------
;                x 86  D D I n s t a l l
;---------------------------------------------------------------

[CMUACWO]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
DelReg=CMUACWO.DelReg
AddReg=CMUACWO.AddReg, CMUACWO_NAMES.AddReg
CopyFiles=CMUACWO.CopyFiles

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

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

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

[CMUACWO.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_SPDIFOUT.WAVE%,Audio.I.SPDIFOUT.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_SPDIFOUT.WAVE%,Audio.I.SPDIFOUT.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_HPOUT.WAVE%,Audio.I.HPOUT.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_HPOUT.WAVE%,Audio.I.HPOUT.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_RECIN.WAVE%,Audio.I.RECIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_RECIN.WAVE%,Audio.I.RECIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_LINEIN.WAVE%,Audio.I.LINEIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_LINEIN.WAVE%,Audio.I.LINEIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPDIFIN.WAVE%,Audio.I.SPDIFIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_SPDIFIN.WAVE%,Audio.I.SPDIFIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_GLOBAL.TOPO%,Audio.I.GLOBAL.TOPO
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_GLOBAL.TOPO%,Audio.I.GLOBAL.TOPO

[CMUACWO.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_SPDIFOUT.WAVE%,Audio.I.SPDIFOUT.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_SPDIFOUT.WAVE%,Audio.I.SPDIFOUT.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_HPOUT.WAVE%,Audio.I.HPOUT.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_HPOUT.WAVE%,Audio.I.HPOUT.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_RECIN.WAVE%,Audio.I.RECIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_RECIN.WAVE%,Audio.I.RECIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_LINEIN.WAVE%,Audio.I.LINEIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_LINEIN.WAVE%,Audio.I.LINEIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPDIFIN.WAVE%,Audio.I.SPDIFIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_SPDIFIN.WAVE%,Audio.I.SPDIFIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_GLOBAL.TOPO%,Audio.I.GLOBAL.TOPO
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_GLOBAL.TOPO%,Audio.I.GLOBAL.TOPO

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

[Audio.I.SPDIFOUT.WAVE]
AddReg=CMUACWO.I.SPDIFOUT.WAVE.AddReg

[Audio.I.HPOUT.WAVE]
AddReg=CMUACWO.I.HPOUT.WAVE.AddReg

[Audio.I.RECIN.WAVE]
AddReg=CMUACWO.I.RECIN.WAVE.AddReg

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

[Audio.I.LINEIN.WAVE]
AddReg=CMUACWO.I.LINEIN.WAVE.AddReg

[Audio.I.SPDIFIN.WAVE]
AddReg=CMUACWO.I.SPDIFIN.WAVE.AddReg

[Audio.I.GLOBAL.TOPO]
AddReg=CMUACWO.I.GLOBAL.TOPO.AddReg

;---------------------------------------------------------------
;                A d d R e g
;---------------------------------------------------------------
[CMUACWO.AddReg]
HKR,,Driver,,CMUACWO.sys
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,NTMPDriver,,"CMUACWO.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"
HKR,,SetupPreferredAudioDevices,3,01,00,00,00
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,,%CMUACWO.Audio.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%CMUACWO.Audio.DeviceDesc%
HKR,Drivers\midi\wdmaud.drv,Description,,%CMUACWO.Audio.DeviceDesc%
HKR,Drivers\aux\wdmaud.drv,Description,,%CMUACWO.Audio.DeviceDesc%

[CMUACWO_NAMES.AddReg]
HKLM,%MediaCategories%\%CMUACWOGUID.SpdifOut%,Name,,%CMUACWONode.SpdifOut%
HKLM,%MediaCategories%\%CMUACWOGUID.SpdifOut%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%CMUACWOGUID.SpdifIn%,Name,,%CMUACWONode.SpdifIn%
HKLM,%MediaCategories%\%CMUACWOGUID.SpdifIn%,Display,1,00,00,00,00

HKLM,%MediaCategories%\%HDAGuidStereoMixPin%,Name,,%HDAStereoMixPinName%
HKLM,%MediaCategories%\%HDAGuidStereoMixPin%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%HDAGuidAuxInPin%,Name,,%HDAAuxInPinName%
HKLM,%MediaCategories%\%HDAGuidAuxInPin%,Display,1,00,00,00,00

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

[CMUACWO.I.SPDIFOUT.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%CMUACWO.SPDIFOUT.WAVE.szPname%

[CMUACWO.I.HPOUT.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%CMUACWO.HPOUT.WAVE.szPname%

[CMUACWO.I.RECIN.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%CMUACWO.RECIN.WAVE.szPname%

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

[CMUACWO.I.LINEIN.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%CMUACWO.LINEIN.WAVE.szPname%

[CMUACWO.I.SPDIFIN.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%CMUACWO.SPDIFIN.WAVE.szPname%

[CMUACWO.I.GLOBAL.TOPO.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%CMUACWO.GLOBAL.TOPO.szPname%

;---------------------------------------------------------------
;                Copy Files
;---------------------------------------------------------------

[CMUACWO.CopyFiles]
CMUACWO.sys
;---------------------------------------------------------------
;                D e l R e g
;---------------------------------------------------------------

[CMUACWO.DelReg]
HKR,Settings

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

[CMUACWO.Services]
AddService=CMUACWO, 0x00000002, CMUACWO.ServiceInstall

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

[CMUACWO.ServiceInstall]
DisplayName=%CMUACWO.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\CMUACWO.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}"
KSCATEGORY_TOPOLOGY = "{DDA54A40-1E4C-11D1-A050-405705C10000}" ; non-localizable

KSNAME_SPEAKER.WAVE="SPKOut00Wave"
KSNAME_SPDIFOUT.WAVE="SPDIFOut00Wave"
KSNAME_HPOUT.WAVE="HPOut00Wave"
KSNAME_RECIN.WAVE="RecIn00Wave"
KSNAME_MICIN.WAVE="MicIn00Wave"
KSNAME_LINEIN.WAVE="LineIn00Wave"
KSNAME_SPDIFIN.WAVE="SPDIFIn00Wave"
KSNAME_GLOBAL.TOPO="GlobalTopo"

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

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"

;localizeable
CMUACWOGUID.SpdifOut	="{12C15946-BA58-42c1-9F11-8341E2198622}"
CMUACWOGUID.SpdifIn	="{017D895C-7AE7-4f4d-B78C-CD1FFC0CE776}"
HDAGuidStereoMixPin 	="{8c5716e6-c984-492e-a2fb-1385f2d0f3c9}"
HDAGuidAuxInPin 	="{5f4bb488-a646-408a-9265-8647f9c374d4}"

CMEDIA="C-MEDIA Inc."
CMUACWO.DeviceDesc="USB Audio Class 1.0 and 2.0 Device Driver With MS Effect"
CMUACWO.SPEAKER.WAVE.szPname="Speaker"
CMUACWO.SPDIFOUT.WAVE.szPname="SpdifOut"
CMUACWO.HPOUT.WAVE.szPname="Headphone"
CMUACWO.RECIN.WAVE.szPname="Capture"
CMUACWO.MICIN.WAVE.szPname="MicIn"
CMUACWO.LINEIN.WAVE.szPname="LineIn"
CMUACWO.SPDIFIN.WAVE.szPname="SpdifIn"
CMUACWO.GLOBAL.TOPO.szPname="Global Mixer"
CMUACWO.Audio.DeviceDesc="CMUACWO Audio"
cdname="USB Audio Class 1.0/2.0 Device Installation Disk"
CMUACWONode.SpdifOut="SPDIF Out"
CMUACWONode.SpdifIn="SPDIF In"
HDAStereoMixPinName="Stereo Mix"
HDAAuxInPinName="Aux In"
REG_BINARY          = 0x00000001
