;
;C-MEDIA Inc. Gaming Headset Driver
;

[Version]
signature="$WINDOWS NT$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%CMEDIA%
Catalogfile=SOMIC_C71B.cat
DriverVer=01/28/2016,10.0.01.01

[SourceDisksNames]
1000=%cdname%,,,

[SourceDisksFiles.x86]
C_71_B.sys=1000,\x86
CMEFFECTAPO_C_71_B.dll=1000,\x86
CMCPLEXT_C_71_B.dll=1000,\x86

[SourceDisksFiles.amd64]
C_71_B.sys=1000,\x64
CMEFFECTAPO_C_71_B.dll=1000,\x64
CMCPLEXT_C_71_B.dll=1000,\x64

[DestinationDirs]
DefaultDestDir=12
C_71_B.CopyFiles=12
CMEFFECTAPO_C_71_B.CopyFiles=11	


[SignatureAttributes]
C_71_B.sys=SignatureAttributes.DRM
CMEFFECTAPO_C_71_B.dll=SignatureAttributes.PETrust
CMCPLEXT_C_71_B.dll=SignatureAttributes.PETrust

[SignatureAttributes.DRM]
DRMLevel=1300

[SignatureAttributes.PETrust]
PETrust=true

[Manufacturer]
%ManufacturerString%=ManufacturerID,NTamd64

[ManufacturerID]
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0022&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0023&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0024&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0025&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0026&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0027&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0028&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0029&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002A&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002B&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002C&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002D&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002E&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002F&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0030&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0031&MI_00

[ManufacturerID.NTamd64]
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0022&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0023&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0024&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0025&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0026&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0027&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0028&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0029&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002A&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002B&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002C&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002D&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002E&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_002F&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0030&MI_00
%SOMIC_C71B.DeviceDesc%=SOMIC_C71B,USB\VID_2B0D&PID_0031&MI_00

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

[SOMIC_C71B]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
DelReg=SOMIC_C71B.DelReg
AddReg=SOMIC_C71B.AddReg, SOMIC_C71B_NAMES.AddReg, SfxFx.AddReg
AddProperty=SOMIC_C71BBranding.AddProperty
CopyFiles=C_71_B.CopyFiles, CMEFFECTAPO_C_71_B.CopyFiles

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

[SOMIC_C71B.NTamd64]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
DelReg=SOMIC_C71B.DelReg
AddReg=SOMIC_C71B.AddReg, SOMIC_C71B_NAMES.AddReg, SfxFx.AddReg
AddProperty=SOMIC_C71BBranding.AddProperty
CopyFiles=C_71_B.CopyFiles, CMEFFECTAPO_C_71_B.CopyFiles

[SOMIC_C71BBranding.AddProperty]
DeviceVendorWebSite,,,,"http://www.cmedia.com.tw" ; Place your URL here

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

[SOMIC_C71B.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

[SOMIC_C71B.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=SOMIC_C71B.I.SPEAKER.WAVE.AddReg

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

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

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

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

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

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

[Audio.I.GLOBAL.TOPO]
AddReg=SOMIC_C71B.I.GLOBAL.TOPO.AddReg, SysFx.AddReg, SOMIC_C71B.EPProperties.AddReg

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

[SOMIC_C71B_NAMES.AddReg]
HKLM,%MediaCategories%\%SOMIC_C71BGUID.SpdifOut%,Name,,%SOMIC_C71BNode.SpdifOut%
HKLM,%MediaCategories%\%SOMIC_C71BGUID.SpdifOut%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SOMIC_C71BGUID.SpdifIn%,Name,,%SOMIC_C71BNode.SpdifIn%
HKLM,%MediaCategories%\%SOMIC_C71BGUID.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

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

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

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

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

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

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

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

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

[SOMIC_C71B.EPProperties.AddReg]
HKR,"EP\\0",%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_ANY%
HKR,"EP\\0",%PKEY_AudioEndpoint_Supports_EventDriven_Mode%,0x00010001,0x1

[SysFx.AddReg]
HKR,"FX\\0",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%
HKR,"FX\\0",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\0",%PKEY_FX_StreamEffectClsid%,,%SYSFX_STREAM_CLSID%
HKR,"FX\\0",%PKEY_FX_ModeEffectClsid%,,%SYSFX_MODE_CLSID%
HKR,"FX\\0",%PKEY_SFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%
HKR,"FX\\0",%PKEY_MFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%
HKR,"FX\\0",%PKEY_FX_Association%,,%KSNODETYPE_SPEAKER%

HKR,"FX\\1",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%
HKR,"FX\\1",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\1",%PKEY_FX_StreamEffectClsid%,,%SYSFX_STREAM_CLSID%
HKR,"FX\\1",%PKEY_FX_ModeEffectClsid%,,%SYSFX_MODE_CLSID%
HKR,"FX\\1",%PKEY_SFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%
HKR,"FX\\1",%PKEY_MFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%
HKR,"FX\\1",%PKEY_FX_Association%,,%KSNODETYPE_HEADPHONES%

HKR,"FX\\2",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%
HKR,"FX\\2",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\2",%PKEY_FX_StreamEffectClsid%,,%SYSFX_STREAM_CLSID%
HKR,"FX\\2",%PKEY_FX_ModeEffectClsid%,,%SYSFX_MODE_CLSID%
HKR,"FX\\2",%PKEY_SFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%
HKR,"FX\\2",%PKEY_MFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%
HKR,"FX\\2",%PKEY_FX_Association%,,%KSNODETYPE_SPDIF_INTERFACE%

HKR,"FX\\3",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%
HKR,"FX\\3",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\3",%PKEY_FX_StreamEffectClsid%,,%SYSFX_STREAM_CLSID%
HKR,"FX\\3",%PKEY_SFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%
HKR,"FX\\3",%PKEY_FX_Association%,,%KSNODETYPE_MICROPHONE%

HKR,"FX\\4",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%
HKR,"FX\\4",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\4",%PKEY_FX_StreamEffectClsid%,,%SYSFX_STREAM_CLSID%
HKR,"FX\\4",%PKEY_SFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%
HKR,"FX\\4",%PKEY_FX_Association%,,%KSNODETYPE_DESKTOP_MICROPHONE%

[SfxFx.AddReg]
HKCR,CLSID\%SYSFX_MODE_CLSID%,,,"CMEffect Class (Global)"
HKCR,CLSID\%SYSFX_MODE_CLSID%\InProcServer32,,,%11%\CMEFFECTAPO_C_71_B.dll
HKCR,CLSID\%SYSFX_MODE_CLSID%\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\%SYSFX_STREAM_CLSID%,,,"CMEffect Class (Local)"
HKCR,CLSID\%SYSFX_STREAM_CLSID%\InProcServer32,,,%11%\CMEFFECTAPO_C_71_B.dll
HKCR,CLSID\%SYSFX_STREAM_CLSID%\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\%SYSFX_UI_CLSID%,,,"CMEffect PropPageExt Class"
HKCR,CLSID\%SYSFX_UI_CLSID%\InProcServer32,,,%11%\CMCPLEXT_C_71_B.dll
HKCR,CLSID\%SYSFX_UI_CLSID%\InProcServer32,ThreadingModel,,"Apartment"

HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "FriendlyName", ,"Global CMEffect Class"
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "Copyright", ,"Copyright (c) C-Media Electronics Inc. All Rights Reserved"
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "MajorVersion", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "MinorVersion", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "Flags", %REG_DWORD%, 0x00000004
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "MinInputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "MaxInputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "MinOutputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "MaxOutputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "MaxInstances", %REG_DWORD%, 0xffffffff
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "NumAPOInterfaces", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_MODE_CLSID%, "APOInterface0", ,"{FD7F2B29-24D0-4B5C-B177-592C39F9CA10}"

HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "FriendlyName", ,"Local CMEffect Class"
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "Copyright", ,"Copyright (c) C-Media Electronics Inc. All Rights Reserved"
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "MajorVersion", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "MinorVersion", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "Flags", %REG_DWORD%, 0x0000000c
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "MinInputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "MaxInputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "MinOutputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "MaxOutputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "MaxInstances", %REG_DWORD%, 0xffffffff
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "NumAPOInterfaces", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_STREAM_CLSID%, "APOInterface0", ,"{FD7F2B29-24D0-4B5C-B177-592C39F9CA10}"

;---------------------------------------------------------------
;                D e l R e g
;---------------------------------------------------------------

[SOMIC_C71B.DelReg]
HKR,Settings

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

[C_71_B.CopyFiles]
C_71_B.SYS

[CMEFFECTAPO_C_71_B.CopyFiles]
CMEFFECTAPO_C_71_B.dll 
CMCPLEXT_C_71_B.dll

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

[SOMIC_C71B.Services]
AddService=C_71_B, 0x00000002, C_71_B.ServiceInstall

[SOMIC_C71B.NTamd64.Services]
AddService=C_71_B, 0x00000002, C_71_B.ServiceInstall

[C_71_B.ServiceInstall]
DisplayName=%SOMIC_C71B.SvcDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\C_71_B.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
KSCATEGORY_REALTIME = "{EB115FFC-10C8-4964-831D-6DCB02E6F23F}" ; 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
SOMIC_C71BGUID.SpdifOut="{12C15946-BA58-42c1-9F11-8341E2198622}"
SOMIC_C71BGUID.SpdifIn	="{017D895C-7AE7-4f4d-B78C-CD1FFC0CE776}"
HDAGuidStereoMixPin 		="{8c5716e6-c984-492e-a2fb-1385f2d0f3c9}"
HDAGuidAuxInPin 		="{5f4bb488-a646-408a-9265-8647f9c374d4}"

CMEDIA="C-MEDIA Inc."
ManufacturerString="C-MEDIA Inc."
SOMIC_C71B.DeviceDesc="Gaming Headset"
SOMIC_C71B.SvcDesc="SOMIC Gaming Headset Service"
SOMIC_C71B.SPEAKER.WAVE.szPname="Speaker"
SOMIC_C71B.SPDIFOUT.WAVE.szPname="SpdifOut"
SOMIC_C71B.HPOUT.WAVE.szPname="Headphone"
SOMIC_C71B.RECIN.WAVE.szPname="Capture"
SOMIC_C71B.MICIN.WAVE.szPname="MicIn"
SOMIC_C71B.LINEIN.WAVE.szPname="LineIn"
SOMIC_C71B.SPDIFIN.WAVE.szPname="SpdifIn"
SOMIC_C71B.GLOBAL.TOPO.szPname="Global Mixer"
SOMIC_C71B.Audio.DeviceDesc="Gaming Headset Audio"
cdname="C-MEDIA Inc. Gaming Headset Installation Disk"
SOMIC_C71BNode.SpdifOut="SPDIF Out"
SOMIC_C71BNode.SpdifIn="SPDIF In"
HDAStereoMixPinName="Stereo Mix"
HDAAuxInPinName="Aux In"

;; These are the name strings for the wave miniports displayed in mmsys.cpl
;;

KSNODETYPE_ANY                    = "{00000000-0000-0000-0000-000000000000}"
KSNODETYPE_SPEAKER                = "{DFF21CE1-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_LINE_CONNECTOR         = "{DFF21FE3-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_HEADSET_SPEAKERS       = "{DFF21CE6-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_HEADPHONES             = "{DFF21CE2-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_DESKTOP_SPEAKER        = "{DFF21CE4-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_SPDIF_INTERFACE        = "{DFF21FE5-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_MICROPHONE             = "{DFF21BE1-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_DESKTOP_MICROPHONE     = "{DFF21BE2-F70F-11D0-B917-00A0C9223196}"
;;
;; PropertyKey GUIDS
;;

PKEY_FX_Association          = "{D04E05A6-594B-4FB6-A80D-01AF5EED7D1D},0"
PKEY_FX_UiClsid              = "{D04E05A6-594B-4FB6-A80D-01AF5EED7D1D},3"
PKEY_FX_StreamEffectClsid    = "{D04E05A6-594B-4fb6-A80D-01AF5EED7D1D},5"
PKEY_FX_ModeEffectClsid      = "{D04E05A6-594B-4fb6-A80D-01AF5EED7D1D},6"
PKEY_FX_EndpointEffectClsid  = "{D04E05A6-594B-4fb6-A80D-01AF5EED7D1D},7"
PKEY_ItemNameDisplay         = "{B725F130-47EF-101A-A5F1-02608C9EEBAC},10"

PKEY_AudioEndpoint_ControlPanelPageProvider = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},1"
PKEY_AudioEndpoint_Association  = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},2"
PKEY_AudioEndpoint_Supports_EventDriven_Mode = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},7"

PKEY_SFX_ProcessingModes_Supported_For_Streaming = "{D3993A3F-99C2-4402-B5EC-A92A0367664B},5"
PKEY_MFX_ProcessingModes_Supported_For_Streaming = "{D3993A3F-99C2-4402-B5EC-A92A0367664B},6"

AUDIO_SIGNALPROCESSINGMODE_DEFAULT = "{C18E2F7E-933D-4965-B7D1-1EEF228D2AF3}"
		
PKEY_AudioEngine_OEMFormat = "{E4870E26-3CC5-4CD2-BA46-CA0A9A70ED04},3"

AUDIOENDPOINT_EXT_UI_CLSID = "{6C57B2A2-91F5-4b90-93D5-FAB82485ECA6}"

SYSFX_UI_CLSID      = "{26227700-BAA1-4EC0-82CE-CE36F04D6081}"
SYSFX_STREAM_CLSID  = "{3A89F84C-F0BA-451A-9EB7-678F28AE447D}"
SYSFX_MODE_CLSID    = "{DD693514-EC2A-4298-B866-A2B1D9D976FF}"
SYSFX_FriendlyName  = "CMedia Audio System Effect"

REG_BINARY          = 0x00000001
