[Version]
Signature = "$WINDOWS NT$"
Class = Extension
ClassGuid = {e2f84ce7-8efa-411c-aa69-97454ca4cb57}
Provider = %Provider%
ExtensionId = {bcac126c-aa0c-4bb3-8c0b-5571435c585e}
DriverVer = 06/22/2022,1.1.4.0
CatalogFile = AVoluteNH3Ext.cat

[SourceDisksNames]
222 = %DiskId1%

[SourceDisksFiles]
NH3ProductSettings.cab=222

[DestinationDirs]
AVoluteProdSettings.CopyList = 11,\A-Volute\AGSConfigurator ; Windows\System32\A-Volute\AGSConfigurator\

[AVoluteProdSettings.CopyList]
NH3ProductSettings.cab

[Manufacturer]
%Provider% = DeviceExtensions,NTamd64

[DeviceExtensions.NTamd64]
%Device.ExtensionDesc% = RtkHDARender_Install,HDAUDIO\FUNC_01&VEN_10EC&DEV_0256&SUBSYS_1558A601 ;; NL50NU
%Device.ExtensionDesc% = RtkHDARender_Install,INTELAUDIO\FUNC_01&VEN_10EC&DEV_0256&SUBSYS_15587716 ;; NS50PU
%Device.ExtensionDesc% = RtkHDARender_Install,INTELAUDIO\FUNC_01&VEN_10EC&DEV_0256&SUBSYS_15587717 ;; NS70PU
%Device.ExtensionDesc% = RtkHDARender_Install,INTELAUDIO\FUNC_01&VEN_10EC&DEV_0256&SUBSYS_15587719 ;; NS50PU
%Device.ExtensionDesc% = RtkHDARender_Install,INTELAUDIO\FUNC_01&VEN_10EC&DEV_0256&SUBSYS_15587720 ;; NS70PU

[RtkHDARender_Install]
CopyFiles = AVoluteProdSettings.CopyList
AddReg = RtkRenderInterface_AddReg,General_RtkEPAddReg,ClevoVN_RtkEPAddReg

[RtkHDARender_Install.Components]
AddComponent = AVOLUTE_NH4APO,,APO_Install

[RtkHDARender_Install.Devices]
AddDevice = Nahimic_Mirroring,,Nahimic_Mirroring_RootDevice_Inst

[APO_Install]
ComponentIDs = VEN_AVOL&AID_1202
Description = "A-Volute Nh4 Audio Effects Component"

[Nahimic_Mirroring_RootDevice_Inst]
HardwareIds = ROOT\Nahimic_Mirroring

[RtkHDARender_Install.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,RearLineOutTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RearLineOutTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,PrimaryLineOutTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,PrimaryLineOutTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,SingleLineOutTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,SingleLineOutTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,SecondaryLineOutTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,SecondaryLineOutTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,FrontPanelHeadphoneTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,FrontPanelHeadphoneTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,RtSpdifTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RtSpdifTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,RtSpdifHDMITopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RtSpdifHDMITopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,RtSpdifRCATopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RtSpdifRCATopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,RtSpdifOptTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RtSpdifOptTopo,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,RearLineOutTopoSST,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RearLineOutTopoSST,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,RearLineOutTopoSST2,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RearLineOutTopoSST2,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,RearLineOutTopoSST3,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RearLineOutTopoSST3,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,RearLineOutTopoDock,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RearLineOutTopoDock,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,RearLineOutTopoHap,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RearLineOutTopoHap,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,RearLineOutTopoHap2,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RearLineOutTopoHap2,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_AUDIO%,RearLineOutTopoHap3,AzAudModel.RtkRender
AddInterface=%KSCATEGORY_TOPOLOGY%,RearLineOutTopoHap3,AzAudModel.RtkRender

[AzAudModel.RtkRender]
AddReg = ProductId_AddReg,Clevo_VendorName

[RtkRenderInterface_AddReg]
HKR,Settings,EPSubVer2,0x00010001,1
HKR,InterfaceSetting,RearLineOutTopo,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,PrimaryLineOutTopo,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,SingleLineOutTopo,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,SecondaryLineOutTopo,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,FrontPanelHeadphoneTopo,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,RtSpdifTopo,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,RtSpdifHDMITopo,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,RtSpdifRCATopo,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,RtSpdifOptTopo,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,BTBPOutTopo,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,RearLineOutTopoSST,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,RearLineOutTopoSST2,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,RearLineOutTopoSST3,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,RearLineOutTopoDock,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,RearLineOutTopoHap,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,RearLineOutTopoHap2,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"
HKR,InterfaceSetting,RearLineOutTopoHap3,0x10008,"GeneralRtkEP_1140","ClevoVNRtkEP_1140"

[General_RtkEPAddReg]
;; PKEY_AudioEndpoint_Association
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\0,%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_ANY%
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\1,%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_ANY%
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\2,%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_ANY%

;; PKEY_PRODUCTID
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\0,%PKEY_PRODUCTID%,%REG_SZ%,%PRODUCTID%
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\1,%PKEY_PRODUCTID%,%REG_SZ%,%PRODUCTID%
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\2,%PKEY_PRODUCTID%,%REG_SZ%,%PRODUCTID%

;; PKEY_PRODUCTID_ISST
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\0,%PKEY_PRODUCTID_ISST%,%REG_SZ%,%PRODUCTID%
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\1,%PKEY_PRODUCTID_ISST%,%REG_SZ%,%PRODUCTID%
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\2,%PKEY_PRODUCTID_ISST%,%REG_SZ%,%PRODUCTID%

;; PKEY_SUPPORT: value 1 for Realtek
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\0,%PKEY_SUPPORT%,%REG_DWORD%,0x1
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\1,%PKEY_SUPPORT%,%REG_DWORD%,0x1
HKR,InterfaceSetting\GeneralRtkEP_1140\EP\2,%PKEY_SUPPORT%,%REG_DWORD%,0x1

[ClevoVN_RtkEPAddReg]
HKR,InterfaceSetting\ClevoVNRtkEP_1140\EP\0,%PKEY_VENDORNAME%,%REG_SZ%,"Clevo"
HKR,InterfaceSetting\ClevoVNRtkEP_1140\EP\1,%PKEY_VENDORNAME%,%REG_SZ%,"Clevo"
HKR,InterfaceSetting\ClevoVNRtkEP_1140\EP\2,%PKEY_VENDORNAME%,%REG_SZ%,"Clevo"

[ProductId_AddReg]
;; PKEY_AudioEndpoint_Association
HKR,EP\0,%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_ANY%
HKR,EP\1,%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_ANY%
HKR,EP\2,%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_ANY%

;; PKEY_PRODUCTID
HKR,EP\0,%PKEY_PRODUCTID%,%REG_SZ%,%PRODUCTID%
HKR,EP\1,%PKEY_PRODUCTID%,%REG_SZ%,%PRODUCTID%
HKR,EP\2,%PKEY_PRODUCTID%,%REG_SZ%,%PRODUCTID%

;; PKEY_PRODUCTID_ISST
HKR,EP\0,%PKEY_PRODUCTID_ISST%,%REG_SZ%,%PRODUCTID%
HKR,EP\1,%PKEY_PRODUCTID_ISST%,%REG_SZ%,%PRODUCTID%
HKR,EP\2,%PKEY_PRODUCTID_ISST%,%REG_SZ%,%PRODUCTID%

;; PKEY_SUPPORT: value 1 for Realtek
HKR,EP\0,%PKEY_SUPPORT%,%REG_DWORD%,0x1
HKR,EP\1,%PKEY_SUPPORT%,%REG_DWORD%,0x1
HKR,EP\2,%PKEY_SUPPORT%,%REG_DWORD%,0x1

[Clevo_VendorName]
;; PKEY_VENDORNAME
HKR,EP\0,%PKEY_VENDORNAME%,%REG_SZ%,"Clevo"
HKR,EP\1,%PKEY_VENDORNAME%,%REG_SZ%,"Clevo"
HKR,EP\2,%PKEY_VENDORNAME%,%REG_SZ%,"Clevo"

[Strings]
Provider = "A-Volute"
Device.ExtensionDesc = "A-Volute APO4 Extension"
DiskId1 = "A-Volute Extension Installation Disk"
ProductId = "A-Volute.Nahimic"
PKEY_AudioEndpoint_Association = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},2"
PKEY_PRODUCTID = "{F363DF17-A750-4AC3-B7B5-2BBEFFA9085F},11"
PKEY_PRODUCTID_ISST = "{9B8844FE-1650-40E5-A5EA-11B8C83821A1},12"
PKEY_SUPPORT = "{1A6219BF-2157-4A15-9414-5BFD0593D3E6},0"
PKEY_VENDORNAME = "{3B454CDE-1938-473F-9DBF-5D6A56332FB5},0"

KSNODETYPE_ANY = "{00000000-0000-0000-0000-000000000000}"
KSCATEGORY_AUDIO = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_TOPOLOGY = "{DDA54A40-1E4C-11D1-A050-405705C10000}"

REG_SZ = 0x00000000
REG_DWORD = 0x00010001
REG_MULTI_SZ = 0x00010000
