;Copyright (c) C-Media Electronics Inc. All rights reserved.

[SourceDisksNames]
111=%DiskDescription%

[SourceDisksFiles.x86]
HTOFENIXV.sys = 111
CMEffectGFX.dll 	= 111, \x86
CMEffectLFX.dll 	= 111, \x86
CMMicEffectLFX.dll 	= 111, \x86
CMEffectPropPage.dll 	= 111, \x86

[SourceDisksFiles.amd64]
HTOFENIXV64.sys = 111
CMEffectGFX.dll 	= 111, \x64
CMEffectLFX.dll 	= 111, \x64
CMMicEffectLFX.dll 	= 111, \x64
CMEffectPropPage.dll 	= 111, \x64

[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGuid={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%ProviderName%
DriverVer=02/18/2014,7.0.1.13
CatalogFile=HTOFENIXV.cat

[DestinationDirs]
DefaultDestDir = 12
CMEFFECT.CopyFiles=11

[CMEFFECT.CopyFiles]
CMEffectGFX.dll
CMEffectLFX.dll
CMMicEffectLFX.dll
CMEffectPropPage.dll

[Manufacturer]
HT OMEGA = HTOmegaHDA, ntamd64

[SignatureAttributes]
drmk.sys=SignatureAttributes.DRM
HTOFENIXV.sys=SignatureAttributes.DRM
HTOFENIXV64.sys=SignatureAttributes.DRM
portcls.sys=SignatureAttributes.DRM
CMEffectGFX.dll=SignatureAttributes.PETrust
CMEffectLFX.dll=SignatureAttributes.PETrust
CMMicEffectLFX.dll=SignatureAttributes.PETrust
CMAPOMain.dll=SignatureAttributes.PETrust
CMXearLiving10.dll=SignatureAttributes.PETrust
CMXearSurr.dll=SignatureAttributes.PETrust
CMXearSonic.dll=SignatureAttributes.PETrust
CMXearSingFX.dll=SignatureAttributes.PETrust
CMXearVoClear.dll=SignatureAttributes.PETrust

[SignatureAttributes.DRM]
DRMLevel=1300

[SignatureAttributes.PETrust]
PETrust=true

;============================================================================

[ControlFlags]
ExcludeFromSelect = *

[HTOmegaHDA]
%HdAudioFunctionDriver.HTOFENIX.DeviceDesc% = HTOmegaHdAudModel, HDAUDIO\FUNC_01&VEN_13F6&DEV_8828&SUBSYS_72848828
[HTOmegaHDA.ntamd64]
%HdAudioFunctionDriver.HTOFENIX.DeviceDesc% = HTOmegaHdAudModel64, HDAUDIO\FUNC_01&VEN_13F6&DEV_8828&SUBSYS_72848828

[HTOmegaHdAudModel]
Include		= ks.inf,wdmaudio.inf
Needs		= KS.Registration,WDMAUDIO.Registration,mssysfx.CopyFilesAndRegister
CopyFiles 	= @HTOFENIXV.sys, CMEFFECT.CopyFiles
AddReg    	= HdAudCommon.AddReg, HdAudModel.AddReg
AddProperty 	= HTOmegaHdAudBranding.AddProperty, HdAudModel.AddProperty
RegisterDlls	= SfxFx.RegisterDlls

[HTOmegaHdAudModel64.ntamd64]
Include		= ks.inf,wdmaudio.inf
Needs		= KS.Registration,WDMAUDIO.Registration,mssysfx.CopyFilesAndRegister
CopyFiles 	= @HTOFENIXV64.sys, CMEFFECT.CopyFiles
AddReg    	= HdAudCommon.AddReg, HdAudModel64.AddReg
AddProperty 	= HTOmegaHdAudBranding64.AddProperty, HdAudModel.AddProperty
RegisterDlls 	= SfxFx.RegisterDlls


; Enable driver to do its own volume persistence
[HdAudModel.AddProperty]
{F3E80BEF-1723-4FF2-BCC4-7F83DC5E46D4},2,7,,1


[HTOmegaHdAudModel.HW]
AddReg = HdAudSecurity.AddReg
[HTOmegaHdAudModel64.ntamd64.HW]
AddReg = HdAudSecurity.AddReg

; Called by needs entry in oem inf -- DO NOT REMOVE

[HTOmegaHdAudModel.Services]
AddService=HTHdAudAddService, 0x00000002, HdAud_Service_Install
[HTOmegaHdAudModel64.ntamd64.Services]
AddService=HTHdAudAddService, 0x00000002, HdAud_Service_Install64

[HdAud_Service_Install]
DisplayName   = %HTFunctionDriverForHdAudio.SvcDesc%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\HTOFENIXV.sys
[HdAud_Service_Install64]
DisplayName   = %HTFunctionDriverForHdAudio.SvcDesc%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\HTOFENIXV64.sys

;;
;; Register DTS SYSFX and property page
;;
[SfxFx.RegisterDlls]
11,,CMEffectGFX.dll,1
11,,CMEffectLFX.dll,1
11,,CMMicEffectLFX.dll,1
11,,CMEffectPropPage.dll,1

[HdAudModel.AddReg]
HKR,,Driver,,HTOFENIXV.sys
[HdAudModel64.AddReg]
HKR,,Driver,,HTOFENIXV64.sys

[HdAudCommon.AddReg]
HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"

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\aux\wdmaud.drv,Driver,,wdmaud.drv

HKR,Drivers\wave\wdmaud.drv,Description,,%HdAudioDeviceDescription%
HKR,Drivers\midi\wdmaud.drv,Description,,%HdAudioDeviceDescription%
HKR,Drivers\mixer\wdmaud.drv,Description,,%HdAudioDeviceDescription%
HKR,Drivers\aux\wdmaud.drv,Description,,%HdAudioDeviceDescription%

; Registry key to enable waveRT by default
HKR,GlobalSettings,EnableWaveRT,1,01,00,00,00
;HKR,PowerSettings,ConservationIdleTime,1,1e,00,00,0     ; 10 seconds for idle power management when on battery
;HKR,PowerSettings,PerformanceIdleTime,1,00,00,00,00     ; Not doing idle power management when on AC power
;HKR,PowerSettings,IdlePowerState,1,03,00,00,00          ; go to D3 for idle power management
HKR,PowerSettings,ConservationIdleTime,3,1e,00,00,0     ; 10 seconds for idle power management when on battery
HKR,PowerSettings,PerformanceIdleTime,3,00,00,00,00     ; Not doing idle power management when on AC power
HKR,PowerSettings,IdlePowerState,3,03,00,00,00          ; go to D3 for idle power management

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%HDAGuidHeadphoneAmpNode%,Name,,%HDAHeadphoneAmpNodeName%
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%HDAGuidHeadphoneAmpNode%,Display,1,00,00,00,00
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%HDAGuidStereoMixPin%,Name,,%HDAStereoMixPinName%
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%HDAGuidStereoMixPin%,Display,1,00,00,00,00
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%HDAGuidAuxInPin%,Name,,%HDAAuxInPinName%
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%HDAGuidAuxInPin%,Display,1,00,00,00,00
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%HDAGuidSPDIFIn2Pin%,Name,,%HDASPDIFIn2PinName%
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%HDAGuidSPDIFIn2Pin%,Display,1,00,00,00,00

[HTOmegaHdAudBranding.AddProperty]
DeviceBrandingIcon,,,,"%1%\HTOFENIXV.sys,-203"
DeviceVendorWebSite,,,,"http://www.htomega.com"
[HTOmegaHdAudBranding64.AddProperty]
DeviceBrandingIcon,,,,"%1%\HTOFENIXV64.sys,-203"
DeviceVendorWebSite,,,,"http://www.htomega.com"

;
; Add Interface sections. These refer to various model sections below.
;
[HTOmegaHdAudModel.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eLineOutWave%, HdAudModel.PrimaryLineOutWave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_eLineOutWave%, HdAudModel.PrimaryLineOutWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eLineOutWave%, HdAudModel.PrimaryLineOutWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eLineOutTopo%, HdAudModel.PrimaryLineOutTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eLineOutTopo%, HdAudModel.PrimaryLineOutTopo

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eHeadphoneWave%, HdAudModel.IndependentHeadphoneWave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_eHeadphoneWave%, HdAudModel.IndependentHeadphoneWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eHeadphoneWave%, HdAudModel.IndependentHeadphoneWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eHeadphoneTopo%, HdAudModel.IndependentHeadphoneTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eHeadphoneTopo%, HdAudModel.IndependentHeadphoneTopo

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eHeadphone2Wave%, HdAudModel.IndependentHeadphone2Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_eHeadphone2Wave%, HdAudModel.IndependentHeadphone2Wave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eHeadphone2Wave%, HdAudModel.IndependentHeadphone2Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eHeadphone2Topo%, HdAudModel.IndependentHeadphone2Topo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eHeadphone2Topo%, HdAudModel.IndependentHeadphone2Topo
;
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eLineInWave%, HdAudModel.PrimaryLineInWave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_eLineInWave%, HdAudModel.PrimaryLineInWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eLineInWave%, HdAudModel.PrimaryLineInWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eLineInTopo%, HdAudModel.PrimaryLineInTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eLineInTopo%, HdAudModel.PrimaryLineInTopo
;
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eSpdifOutWave%, HdAudModel.DigitalOutputWave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_eSpdifOutWave%, HdAudModel.DigitalOutputWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eSpdifOutWave%, HdAudModel.DigitalOutputWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eSpdifOutTopo%, HdAudModel.DigitalOutputTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eSpdifOutTopo%, HdAudModel.DigitalOutputTopo
;
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eMicInWave%, HdAudModel.PrimaryMicInWave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_eMicInWave%, HdAudModel.PrimaryMicInWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eMicInWave%, HdAudModel.PrimaryMicInWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eMicInTopo%, HdAudModel.PrimaryMicInTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eMicInTopo%, HdAudModel.PrimaryMicInTopo

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eMicIn2Wave%, HdAudModel.PrimaryMicIn2Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_eMicIn2Wave%, HdAudModel.PrimaryMicIn2Wave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eMicIn2Wave%, HdAudModel.PrimaryMicIn2Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eMicIn2Topo%, HdAudModel.PrimaryMicIn2Topo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eMicIn2Topo%, HdAudModel.PrimaryMicIn2Topo
;
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eStereoMixWave%, HdAudModel.StereoMixWave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_eStereoMixWave%, HdAudModel.StereoMixWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eStereoMixWave%, HdAudModel.StereoMixWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eStereoMixTopo%, HdAudModel.StereoMixTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eStereoMixTopo%, HdAudModel.StereoMixTopo
;
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eSpdifInWave%, HdAudModel.DigitalInputWave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_eSpdifInWave%, HdAudModel.DigitalInputWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eSpdifInWave%, HdAudModel.DigitalInputWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eSpdifInTopo%, HdAudModel.DigitalInputTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eSpdifInTopo%, HdAudModel.DigitalInputTopo

[HTOmegaHdAudModel64.ntamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eLineOutWave%, HdAudModel.PrimaryLineOutWave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_eLineOutWave%, HdAudModel.PrimaryLineOutWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eLineOutWave%, HdAudModel.PrimaryLineOutWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eLineOutTopo%, HdAudModel.PrimaryLineOutTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eLineOutTopo%, HdAudModel.PrimaryLineOutTopo
;
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eHeadphoneWave%, HdAudModel.IndependentHeadphoneWave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_eHeadphoneWave%, HdAudModel.IndependentHeadphoneWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eHeadphoneWave%, HdAudModel.IndependentHeadphoneWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eHeadphoneTopo%, HdAudModel.IndependentHeadphoneTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eHeadphoneTopo%, HdAudModel.IndependentHeadphoneTopo

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eHeadphone2Wave%, HdAudModel.IndependentHeadphone2Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_eHeadphone2Wave%, HdAudModel.IndependentHeadphone2Wave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eHeadphone2Wave%, HdAudModel.IndependentHeadphone2Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eHeadphone2Topo%, HdAudModel.IndependentHeadphone2Topo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eHeadphone2Topo%, HdAudModel.IndependentHeadphone2Topo
;
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eLineInWave%, HdAudModel.PrimaryLineInWave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_eLineInWave%, HdAudModel.PrimaryLineInWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eLineInWave%, HdAudModel.PrimaryLineInWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eLineInTopo%, HdAudModel.PrimaryLineInTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eLineInTopo%, HdAudModel.PrimaryLineInTopo
;
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eSpdifOutWave%, HdAudModel.DigitalOutputWave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_eSpdifOutWave%, HdAudModel.DigitalOutputWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eSpdifOutWave%, HdAudModel.DigitalOutputWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eSpdifOutTopo%, HdAudModel.DigitalOutputTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eSpdifOutTopo%, HdAudModel.DigitalOutputTopo
;
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eMicInWave%, HdAudModel.PrimaryMicInWave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_eMicInWave%, HdAudModel.PrimaryMicInWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eMicInWave%, HdAudModel.PrimaryMicInWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eMicInTopo%, HdAudModel.PrimaryMicInTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eMicInTopo%, HdAudModel.PrimaryMicInTopo

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eMicIn2Wave%, HdAudModel.PrimaryMicIn2Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_eMicIn2Wave%, HdAudModel.PrimaryMicIn2Wave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eMicIn2Wave%, HdAudModel.PrimaryMicIn2Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eMicIn2Topo%, HdAudModel.PrimaryMicIn2Topo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eMicIn2Topo%, HdAudModel.PrimaryMicIn2Topo
;
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eStereoMixWave%, HdAudModel.StereoMixWave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_eStereoMixWave%, HdAudModel.StereoMixWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eStereoMixWave%, HdAudModel.StereoMixWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eStereoMixTopo%, HdAudModel.StereoMixTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eStereoMixTopo%, HdAudModel.StereoMixTopo
;
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eSpdifInWave%, HdAudModel.DigitalInputWave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_eSpdifInWave%, HdAudModel.DigitalInputWave
AddInterface=%KSCATEGORY_REALTIME%,%KSNAME_eSpdifInWave%, HdAudModel.DigitalInputWave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_eSpdifInTopo%, HdAudModel.DigitalInputTopo
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_eSpdifInTopo%, HdAudModel.DigitalInputTopo
; Settings for system effect begins
;
; System Effects settings
[CMEFFECT.SysFx.Render]
HKR,"FX\\0",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%
HKR,"FX\\0",%PKEY_FX_PreMixClsid%,,%SYSFX_PREMIX_CLSID%
HKR,"FX\\0",%PKEY_FX_PostMixClsid%,,%SYSFX_POSTMIX_CLSID%
HKR,"FX\\0",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\0",%PKEY_FX_Association%,,%KSNODETYPE_SPEAKER%

HKR,"EP\\0",%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_SPEAKER%
HKR,"EP\\0",%PKEY_AudioEndpoint_Supports_EventDriven_Mode%,0x00010001,0x1

HKR,"FX\\1",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%
HKR,"FX\\1",%PKEY_FX_PreMixClsid%,,%SYSFX_PREMIX_CLSID%
HKR,"FX\\1",%PKEY_FX_PostMixClsid%,,%SYSFX_POSTMIX_CLSID%
HKR,"FX\\1",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\1",%PKEY_FX_Association%,,%KSNODETYPE_HEADPHONES%

HKR,"EP\\1",%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_HEADPHONES%
HKR,"EP\\1",%PKEY_AudioEndpoint_Supports_EventDriven_Mode%,0x00010001,0x1

HKR,"FX\\2",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%
HKR,"FX\\2",%PKEY_FX_PreMixClsid%,,%SYSFX_PREMIX_CLSID%
HKR,"FX\\2",%PKEY_FX_PostMixClsid%,,%SYSFX_POSTMIX_CLSID%
HKR,"FX\\2",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\2",%PKEY_FX_Association%,,%KSNODETYPE_SPDIF_INTERFACE%

HKR,"EP\\2",%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_SPDIF_INTERFACE%
HKR,"EP\\2",%PKEY_AudioEndpoint_Supports_EventDriven_Mode%,0x00010001,0x1

[CMEFFECT.SysFx.CaptureMic]
HKR,"FX\\0",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%
HKR,"FX\\0",%PKEY_FX_PreMixClsid%,,%SYSFX_PREMIX_CLSID_MIC%
;HKR,"FX\\0",%PKEY_FX_PostMixClsid%,,%SYSFX_POSTMIX_CLSID%
HKR,"FX\\0",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\0",%PKEY_FX_Association%,,%KSNODETYPE_MICROPHONE%

HKR,"EP\\0",%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_MICROPHONE%
HKR,"EP\\0",%PKEY_AudioEndpoint_Supports_EventDriven_Mode%,0x00010001,0x1

HKR,"FX\\1",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%
HKR,"FX\\1",%PKEY_FX_PreMixClsid%,,%SYSFX_PREMIX_CLSID_MIC%
;HKR,"FX\\1",%PKEY_FX_PostMixClsid%,,%SYSFX_POSTMIX_CLSID%
HKR,"FX\\1",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\1",%PKEY_FX_Association%,,%KSNODETYPE_DESKTOP_MICROPHONE%

HKR,"EP\\1",%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_DESKTOP_MICROPHONE%
HKR,"EP\\1",%PKEY_AudioEndpoint_Supports_EventDriven_Mode%,0x00010001,0x1

HKR,"EP\\2",%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_ANALOG_CONNECTOR%
HKR,"EP\\2",%PKEY_AudioEndpoint_Supports_EventDriven_Mode%,0x00010001,0x1
HKR,"EP\\2",%PKEY_AudioDevice_EnableEndpointByDefault%,0x00010001,0x00000201

; Settings for system effect ends

;
; Primary line out Model and AddRegs.
;
[HdAudModel.PrimaryLineOutWave]
AddReg = HdAudModel.PrimaryLineOutWave.AddReg
[HdAudModel.PrimaryLineOutWave.AddReg]
HKR,,FriendlyName,,%PrimarySpeakerWaveDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
[HdAudModel.PrimaryLineOutTopo]
AddReg = HdAudModel.PrimaryLineOutTopo.AddReg, CMEFFECT.SysFx.Render
[HdAudModel.PrimaryLineOutTopo.AddReg]
HKR,,FriendlyName,,%PrimarySpeakerTopoDeviceName%
HKR,,CLSID,,%Proxy.CLSID%

;
; Independent headphone Model and AddRegs.
;
[HdAudModel.IndependentHeadphoneWave]
AddReg = HdAudModel.IndependentHeadphoneWave.AddReg
[HdAudModel.IndependentHeadphoneWave.AddReg]
HKR,,FriendlyName,,%IndependentHeadphoneWaveDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
[HdAudModel.IndependentHeadphoneTopo]
AddReg = HdAudModel.IndependentHeadphoneTopo.AddReg, CMEFFECT.SysFx.Render
[HdAudModel.IndependentHeadphoneTopo.AddReg]
HKR,,FriendlyName,,%IndependentHeadphoneTopoDeviceName%
HKR,,CLSID,,%Proxy.CLSID%

[HdAudModel.IndependentHeadphone2Wave]
AddReg = HdAudModel.IndependentHeadphone2Wave.AddReg
[HdAudModel.IndependentHeadphone2Wave.AddReg]
HKR,,FriendlyName,,%IndependentHeadphone2WaveDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
[HdAudModel.IndependentHeadphone2Topo]
AddReg = HdAudModel.IndependentHeadphone2Topo.AddReg, CMEFFECT.SysFx.Render
[HdAudModel.IndependentHeadphone2Topo.AddReg]
HKR,,FriendlyName,,%IndependentHeadphone2TopoDeviceName%
HKR,,CLSID,,%Proxy.CLSID%

;
; Primary line in Model and AddReg.
;
[HdAudModel.PrimaryLineInWave]
AddReg = HdAudModel.PrimaryLineInWave.AddReg
[HdAudModel.PrimaryLineInWave.AddReg]
HKR,,FriendlyName,,%PrimaryLineInWaveDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
[HdAudModel.PrimaryLineInTopo]
AddReg = HdAudModel.PrimaryLineInTopo.AddReg
[HdAudModel.PrimaryLineInTopo.AddReg]
HKR,,FriendlyName,,%PrimaryLineInTopoDeviceName%
HKR,,CLSID,,%Proxy.CLSID%

;
; Digital output Model and AddRegs.
;
[HdAudModel.DigitalOutputWave]
AddReg = HdAudModel.DigitalOutputWave.AddReg
[HdAudModel.DigitalOutputWave.AddReg]
HKR,,FriendlyName,,%DigitalOutputWaveDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
[HdAudModel.DigitalOutputTopo]
AddReg = HdAudModel.DigitalOutputTopo.AddReg, CMEFFECT.SysFx.Render
[HdAudModel.DigitalOutputTopo.AddReg]
HKR,,FriendlyName,,%DigitalOutputTopoDeviceName%
HKR,,CLSID,,%Proxy.CLSID%

;
; Primary microphone Model and AddReg.
;
[HdAudModel.PrimaryMicInWave]
AddReg = HdAudModel.PrimaryMicInWave.AddReg
[HdAudModel.PrimaryMicInWave.AddReg]
HKR,,FriendlyName,,%PrimaryMicInWaveDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
[HdAudModel.PrimaryMicInTopo]
AddReg = HdAudModel.PrimaryMicInTopo.AddReg, CMEFFECT.SysFx.CaptureMic
[HdAudModel.PrimaryMicInTopo.AddReg]
HKR,,FriendlyName,,%PrimaryMicInTopoDeviceName%
HKR,,CLSID,,%Proxy.CLSID%

[HdAudModel.PrimaryMicIn2Wave]
AddReg = HdAudModel.PrimaryMicIn2Wave.AddReg
[HdAudModel.PrimaryMicIn2Wave.AddReg]
HKR,,FriendlyName,,%PrimaryMicIn2WaveDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
[HdAudModel.PrimaryMicIn2Topo]
AddReg = HdAudModel.PrimaryMicIn2Topo.AddReg, CMEFFECT.SysFx.CaptureMic
[HdAudModel.PrimaryMicIn2Topo.AddReg]
HKR,,FriendlyName,,%PrimaryMicIn2TopoDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
;
; CD in Model and AddReg.
;
[HdAudModel.CDInWave]
AddReg = HdAudModel.CDInWave.AddReg
[HdAudModel.CDInWave.AddReg]
HKR,,FriendlyName,,%CDInWaveDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
[HdAudModel.CDInTopo]
AddReg = HdAudModel.CDInTopo.AddReg
[HdAudModel.CDInTopo.AddReg]
HKR,,FriendlyName,,%CDInTopoDeviceName%
HKR,,CLSID,,%Proxy.CLSID%

;
; Aux in Model and AddReg.
;
[HdAudModel.AuxInWave]
AddReg = HdAudModel.AuxInWave.AddReg
[HdAudModel.AuxInWave.AddReg]
HKR,,FriendlyName,,%AuxInWaveDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
[HdAudModel.AuxInTopo]
AddReg = HdAudModel.AuxInTopo.AddReg
[HdAudModel.AuxInTopo.AddReg]
HKR,,FriendlyName,,%AuxInTopoDeviceName%
HKR,,CLSID,,%Proxy.CLSID%

;
; Stereo mix Model and AddReg.
;
[HdAudModel.StereoMixWave]
AddReg = HdAudModel.StereoMixWave.AddReg
[HdAudModel.StereoMixWave.AddReg]
HKR,,FriendlyName,,%StereoMixWaveDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
[HdAudModel.StereoMixTopo]
AddReg = HdAudModel.StereoMixTopo.AddReg
[HdAudModel.StereoMixTopo.AddReg]
HKR,,FriendlyName,,%StereoMixTopoDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
;
; Digital input Model and AddRegs.
;
[HdAudModel.DigitalInputWave]
AddReg = HdAudModel.DigitalInputWave.AddReg
[HdAudModel.DigitalInputWave.AddReg]
HKR,,FriendlyName,,%DigitalInputWaveDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
[HdAudModel.DigitalInputTopo]
AddReg = HdAudModel.DigitalInputTopo.AddReg
[HdAudModel.DigitalInputTopo.AddReg]
HKR,,FriendlyName,,%DigitalInputTopoDeviceName%
HKR,,CLSID,,%Proxy.CLSID%

[HdAudSecurity.AddReg]
; FILE_DEVICE_SOUND
HKR,,DeviceType,0x10001,0x0000001D
; SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_RWX_RES_RWX
;HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)"
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)"


[Strings]
ProviderName="C-Media Electronics Inc."
DiskDescription="HTO FENIX High Definition Audio Driver"

HdAudioFunctionDriver.HTOFENIX.DeviceDesc = "HT OMEGA FENIX"
HTFunctionDriverForHdAudio.SvcDesc = "HTO FENIX Function Driver for High Definition Audio Service"

; These are the name strings for the wave miniports displayed in mmsys.cpl
PrimarySpeakerWaveDeviceName = "HTO FENIX HD Audio Speaker"
PrimarySpeakerTopoDeviceName = "HTO FENIX HD Audio Speaker mixer"
IndependentHeadphoneWaveDeviceName = "HTO FENIX HD Audio Headphone"
IndependentHeadphoneTopoDeviceName = "HTO FENIX HD Audio Headphone mixer"
IndependentHeadphone2WaveDeviceName = "HTO FENIX HD Audio Headphone 2"
IndependentHeadphone2TopoDeviceName = "HTO FENIX HD Audio Headphone 2 mixer"
PrimaryLineInWaveDeviceName  = "HTO FENIX HD Audio Line in"
PrimaryLineInTopoDeviceName  = "HTO FENIX HD Audio Line in mixer"
DigitalOutputWaveDeviceName = "HTO FENIX HD Audio SPDIF out"
DigitalOutputTopoDeviceName = "HTO FENIX HD Audio SPDIF out mixer"
PrimaryMicInWaveDeviceName  = "HTO FENIX HD Audio Microphone"
PrimaryMicInTopoDeviceName  = "HTO FENIX HD Audio Microphone mixer"
PrimaryMicIn2WaveDeviceName  = "HTO FENIX HD Audio Microphone 2"
PrimaryMicIn2TopoDeviceName  = "HTO FENIX HD Audio Microphone 2 mixer"
CDInWaveDeviceName  = "HTO FENIX HD Audio CD in capture"
CDInTopoDeviceName  = "HTO FENIX HD Audio CD in capture mixer"
AuxInWaveDeviceName  = "HTO FENIX HD Audio Aux in"
AuxInTopoDeviceName  = "HTO FENIX HD Audio Aux in mixer"
StereoMixWaveDeviceName  = "HTO FENIX HD Audio Stereo mix"
StereoMixTopoDeviceName  = "HTO FENIX HD Audio Stereo mix mixer"
DigitalInputWaveDeviceName = "HTO FENIX HD Audio Digital in"
DigitalInputTopoDeviceName = "HTO FENIX HD Audio Digital in mixer"

; These are the strings passed to PcRegisterSubdevice for wave ports
KSNAME_eLineOutWave = "eLineOutWave"   ; non-localizable
KSNAME_eLineOutTopo = "eLineOutTopo"   ; non-localizable
KSNAME_eHeadphoneWave = "eHPOutWave"   ; non-localizable
KSNAME_eHeadphoneTopo = "eHPOutTopo"   ; non-localizable
KSNAME_eHeadphone2Wave = "eHPOut2Wave"   ; non-localizable
KSNAME_eHeadphone2Topo = "eHPOut2Topo"   ; non-localizable
KSNAME_eLineInWave = "eLineInWave"   ; non-localizable
KSNAME_eLineInTopo = "eLineInTopo"   ; non-localizable
KSNAME_eSpdifOutWave = "eSpdifOutWave"
KSNAME_eSpdifOutTopo = "eSpdifOutTopo"
KSNAME_eMicInWave = "eMicInWave"   ; non-localizable
KSNAME_eMicInTopo = "eMicInTopo"   ; non-localizable
KSNAME_eMicIn2Wave = "eMicIn2Wave"   ; non-localizable
KSNAME_eMicIn2Topo = "eMicIn2Topo"   ; non-localizable
KSNAME_eCDInWave = "eCDInWave"   ; non-localizable
KSNAME_eCDInTopo = "eCDInTopo"   ; non-localizable
KSNAME_eAuxInWave = "eAuxInWave"   ; non-localizable
KSNAME_eAuxInTopo = "eAuxInTopo"   ; non-localizable
KSNAME_eStereoMixWave = "eStereoMixWave"   ; non-localizable
KSNAME_eStereoMixTopo = "eStereoMixTopo"   ; non-localizable
KSNAME_eSpdifInWave = "eSpdifInWave"
KSNAME_eSpdifInTopo = "eSpdifInTopo"

;
; KSCategory Guids
; 
KSCATEGORY_AUDIO = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"    ; non-localizable
KSCATEGORY_RENDER = "{65E8773E-8F56-11D0-A3B9-00A0C9223196}"   ; non-localizable
KSCATEGORY_CAPTURE = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"  ; non-localizable
KSCATEGORY_TOPOLOGY = "{DDA54A40-1E4C-11D1-A050-405705C10000}" ; non-localizable
KSCATEGORY_REALTIME = "{EB115FFC-10C8-4964-831D-6DCB02E6F23F}" ; non-localizable
Proxy.CLSID = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"         ; non-localizable

HdAudioDeviceDescription = "HTO FENIX Function Driver for High Definition Audio" ; {PlaceHolder="UAA","High Definition Audio"}

;Information for FX
; PropertyKeys
PKEY_FX_Association  = "{D04E05A6-594B-4fb6-A80D-01AF5EED7D1D},0"
PKEY_FX_PreMixClsid  = "{D04E05A6-594B-4fb6-A80D-01AF5EED7D1D},1"
PKEY_FX_PostMixClsid = "{D04E05A6-594B-4fb6-A80D-01AF5EED7D1D},2"
PKEY_FX_UiClsid      = "{D04E05A6-594B-4fb6-A80D-01AF5EED7D1D},3"
PKEY_ItemNameDisplay = "{B725F130-47EF-101A-A5F1-02608C9EEBAC},10"

FX_UI_CLSID      = "{5860E1C5-F95C-4a7a-8EC8-8AEF24F379A1}"

KSNODETYPE_ANY   			= "{00000000-0000-0000-0000-000000000000}"
KSNODETYPE_SPEAKER			= "{DFF21CE1-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_HEADPHONES                   = "{DFF21CE2-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}"
KSNODETYPE_ANALOG_CONNECTOR 		= "{DFF21FE1-F70F-11D0-B917-00A0C9223196}"

SYSFX_UI_CLSID      = "{47FFB27D-2916-46bd-8238-27B0C6232C5A}"
SYSFX_PREMIX_CLSID  = "{B48DEA3F-D962-425a-8D9A-9A5BB37A9904}"
SYSFX_PREMIX_CLSID_MIC  = "{5123F0D9-6AD5-47ea-8C99-145EE9633CE1}"
SYSFX_POSTMIX_CLSID = "{B4184CB7-DB0A-48de-B597-571AFF61718A}"
SYSFX_FriendlyName  = "CMedia Audio System Effect"

PKEY_AudioEndpoint_Association = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},2"
PKEY_AudioEndpoint_Supports_EventDriven_Mode = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},7"
PKEY_AudioDevice_EnableEndpointByDefault   = "{F3E80BEF-1723-4FF2-BCC4-7F83DC5E46D4},4"

HDAHeadphoneAmpNodeName = "Headphone Amplifier"
HDAGuidHeadphoneAmpNode = "{1AE56E74-9EB1-4cd8-B0BB-3BC110182568}"

HDAStereoMixPinName = "Stereo Mix"
HDAGuidStereoMixPin = "{8c5716e6-c984-492e-a2fb-1385f2d0f3c9}"

HDAAuxInPinName = "Aux In"
HDAGuidAuxInPin = "{5f4bb488-a646-408a-9265-8647f9c374d4}"

HDASPDIFIn2PinName = "Digital Audio (S/PDIF) 2"
HDAGuidSPDIFIn2Pin = "{D3C1359E-8AAA-46e0-8661-FCF2F4DD4894}"
