;===================================================================
; Dolby DAX APO driver package
; Copyright (c)2019, Dolby Laboratories, INC.
;===================================================================
[Version]
Signature 	= "$Windows NT$"
Class       = Extension
ClassGuid   = {e2f84ce7-8efa-411c-aa69-97454ca4cb57}
Provider 	= %ManufacturerName%
ExtensionId = {a188a241-6bc2-46e6-a4a7-7d6230fb3e11}
CatalogFile = dax3_ext_rtk_asus.cat
DriverVer = 03/02/2020,5.303.128.39

[Manufacturer]
%ManufacturerName% = DeviceExtensions,NTamd64

[DeviceExtensions.NTamd64]
; %Device.ExtensionDesc% = DeviceExtension_Install_DolbyAtmos,
; %Device.ExtensionDesc% = DeviceExtension_Install_DolbyAtmosSpeakerSystem,
; %Device.ExtensionDesc% = DeviceExtension_Install_DolbyAudio,
; %Device.ExtensionDesc% = DeviceExtension_Install_DolbyAudioPremium,
; %Device.ExtensionDesc% = DeviceExtension_Install_DolbyAudioSpeakerSystem,
; %Device.ExtensionDesc% = DeviceExtension_Install_Gaming,
; %Device.ExtensionDesc% = DeviceExtension_Install_DolbyAtmosSpeakerSystemForGaming,
; %Device.ExtensionDesc% = DeviceExtension_Install_DolbyAccessNoGaming,
%Device.ExtensionDesc% = DeviceExtension_Install_DolbyAccessNoGaming,HDAUDIO\FUNC_01&VEN_10EC&DEV_0289&SUBSYS_10431F11
%Device.ExtensionDesc% = DeviceExtension_Install_DolbyAccessNoGaming,INTELAUDIO\FUNC_01&VEN_10EC&DEV_0289&SUBSYS_10431F11

[DeviceExtension_Install_DolbyAtmos.NT]
AddReg = PresetAddReg, DolbyAPO_AddReg
CopyFiles = DolbyAPO_CopyFiles_Common, DolbyAPO_CopyFiles_DolbyAtmos

[DeviceExtension_Install_DolbyAtmosSpeakerSystem.NT]
AddReg = PresetAddReg, DolbyAPO_AddReg
CopyFiles = DolbyAPO_CopyFiles_Common, DolbyAPO_CopyFiles_DolbyAtmosSpeakerSystem

[DeviceExtension_Install_DolbyAudio.NT]
AddReg = PresetAddReg, DolbyAPO_AddReg
CopyFiles = DolbyAPO_CopyFiles_Common, DolbyAPO_CopyFiles_DolbyAudio

[DeviceExtension_Install_DolbyAudioPremium.NT]
AddReg = PresetAddReg, DolbyAPO_AddReg
CopyFiles = DolbyAPO_CopyFiles_Common, DolbyAPO_CopyFiles_DolbyAudioPremium

[DeviceExtension_Install_DolbyAudioSpeakerSystem.NT]
AddReg = PresetAddReg, DolbyAPO_AddReg
CopyFiles = DolbyAPO_CopyFiles_Common, DolbyAPO_CopyFiles_DolbyAudioSpeakerSystem

[DeviceExtension_Install_Gaming.NT]
AddReg = PresetAddReg, DolbyAPO_AddReg
CopyFiles = DolbyAPO_CopyFiles_Common, DolbyAPO_CopyFiles_Gaming

[DeviceExtension_Install_DolbyAtmosSpeakerSystemForGaming.NT]
AddReg = PresetAddReg, DolbyAPO_AddReg
CopyFiles = DolbyAPO_CopyFiles_Common, DolbyAPO_CopyFiles_DolbyAtmosSpeakerSystemForGaming

[DeviceExtension_Install_DolbyAccessNoGaming.NT]
AddReg = PresetAddReg, DolbyAPO_AddReg
CopyFiles = DolbyAPO_CopyFiles_Common, DolbyAPO_CopyFiles_DolbyAtmos

[PresetAddReg]
;; render endpoint settings for HDAudio
HKR,InterfaceSetting,PrimaryLineOutTopo,%REG_MULTI_SZ_APPEND%,"ApoPreset1"                  ;; PrimaryLineOutTopo stands for Speakers(or Redirected headphone/speaker) endpoint
HKR,InterfaceSetting,SingleLineOutTopo,%REG_MULTI_SZ_APPEND%,"ApoPreset1"                   ;; SingleLineOutTopo stands for Speakers(or Redirected headphone/speaker) endpoint
HKR,InterfaceSetting,SecondaryLineOutTopo,%REG_MULTI_SZ_APPEND%,"ApoPreset2"                ;; SecondaryLineOutTopo stands for Headphone endpoint
;; render endpoint settings for Intel SST
HKR,InterfaceSetting,RearLineOutTopoSST,%REG_MULTI_SZ_APPEND%,"ApoPreset1"					;; Speakers(or Redirected headphone/speaker) endpoint with audio offloading DSP supported (Intel SST) 
HKR,InterfaceSetting,RearLineOutTopoSST3,%REG_MULTI_SZ_APPEND%,"ApoPreset2"					;; Headphone endpoint with audio offloading DSP supported (Intel SST)
;; render endpoint settings for AMD DSP
HKR,InterfaceSetting,RearLineOutTopoHAP,%REG_MULTI_SZ_APPEND%,"ApoPreset1"					;; Speakers(or Redirected headphone/speaker) endpoint with audio offloading DSP supported (AMD HAP) 
HKR,InterfaceSetting,RearLineOutTopoHAP3,%REG_MULTI_SZ_APPEND%,"ApoPreset2"					;; Headphone endpoint with audio offloading DSP supported (AMD HAP)

[DolbyAPO_AddReg]
; Add Dolby enabled device indicator string here.
HKR, InterfaceSetting\ApoPreset1\EP\0, "{6CA6A085-3041-482B-9113-C61E7F250356},0",         ,"0.4.0"
HKR, InterfaceSetting\ApoPreset2\EP\0, "{6CA6A085-3041-482B-9113-C61E7F250356},0",         ,"0.4.0"

; AddComponent definition for all SKUs
[DeviceExtension_Install_DolbyAtmos.NT.Components]
AddComponent = DolbyAPO_DAX3APOSVC,, DolbyAPO_ComponentInstall_DAX3APOSVC
AddComponent = DolbyAPO_DAX3HSA_DolbyAtmos,, DolbyAPO_ComponentInstall_DAX3HSA_DolbyAtmos

[DeviceExtension_Install_DolbyAtmosSpeakerSystem.NT.Components]
AddComponent = DolbyAPO_DAX3APOSVC,, DolbyAPO_ComponentInstall_DAX3APOSVC
AddComponent = DolbyAPO_DAX3HSA_DolbyAtmosSpeakerSystem,, DolbyAPO_ComponentInstall_DAX3HSA_DolbyAtmosSpeakerSystem

[DeviceExtension_Install_DolbyAudio.NT.Components]
AddComponent = DolbyAPO_DAX3APOSVC,, DolbyAPO_ComponentInstall_DAX3APOSVC
AddComponent = DolbyAPO_DAX3HSA_DolbyAudio,, DolbyAPO_ComponentInstall_DAX3HSA_DolbyAudio

[DeviceExtension_Install_DolbyAudioPremium.NT.Components]
AddComponent = DolbyAPO_DAX3APOSVC,, DolbyAPO_ComponentInstall_DAX3APOSVC
AddComponent = DolbyAPO_DAX3HSA_DolbyAudioPremium,, DolbyAPO_ComponentInstall_DAX3HSA_DolbyAudioPremium

[DeviceExtension_Install_DolbyAudioSpeakerSystem.NT.Components]
AddComponent = DolbyAPO_DAX3APOSVC,, DolbyAPO_ComponentInstall_DAX3APOSVC
AddComponent = DolbyAPO_DAX3HSA_DolbyAudioSpeakerSystem,, DolbyAPO_ComponentInstall_DAX3HSA_DolbyAudioSpeakerSystem

[DeviceExtension_Install_Gaming.NT.Components]
AddComponent = DolbyAPO_DAX3APOSVC,, DolbyAPO_ComponentInstall_DAX3APOSVC
AddComponent = DolbyAPO_DAX3HSA_Gaming,, DolbyAPO_ComponentInstall_DAX3HSA_Gaming

[DeviceExtension_Install_DolbyAtmosSpeakerSystemForGaming.NT.Components]
AddComponent = DolbyAPO_DAX3APOSVC,, DolbyAPO_ComponentInstall_DAX3APOSVC
AddComponent = DolbyAPO_DAX3HSA_DolbyAtmosSpeakerSystemForGaming,, DolbyAPO_ComponentInstall_DAX3HSA_DolbyAtmosSpeakerSystemForGaming

[DeviceExtension_Install_DolbyAccessNoGaming.NT.Components]
AddComponent = DolbyAPO_DAX3APOSVC,, DolbyAPO_ComponentInstall_DAX3APOSVC
AddComponent = DolbyAPO_DAX3HSA_DolbyAccess,, DolbyAPO_ComponentInstall_DAX3HSA_DolbyAccess

; APOSVC component
[DolbyAPO_ComponentInstall_DAX3APOSVC]
ComponentIds = VEN_DOLBY&PID_DAX3APOSVC  ; Matches with SWC\VEN_DOLBY&PID_DAX3APOSVC

; HSA component definition for all SKUs
[DolbyAPO_ComponentInstall_DAX3HSA_DolbyAtmos]
ComponentIds = VEN_DOLBY&PID_DAX3HSA_DolbyAtmos ; Matches with SWC\VEN_DOLBY&PID_DAX3HSA_DolbyAtmos

[DolbyAPO_ComponentInstall_DAX3HSA_DolbyAtmosSpeakerSystem]
ComponentIds = VEN_DOLBY&PID_DAX3HSA_DolbyAtmosSpeakerSystem ; Matches with SWC\VEN_DOLBY&PID_DAX3HSA_DolbyAtmosSpeakerSystem

[DolbyAPO_ComponentInstall_DAX3HSA_DolbyAudio]
ComponentIds = VEN_DOLBY&PID_DAX3HSA_DolbyAudio ; Matches with SWC\VEN_DOLBY&PID_DAX3HSA_DolbyAudio

[DolbyAPO_ComponentInstall_DAX3HSA_DolbyAudioPremium]
ComponentIds = VEN_DOLBY&PID_DAX3HSA_DolbyAudioPremium ; Matches with SWC\VEN_DOLBY&PID_DAX3HSA_DolbyAudioPremium

[DolbyAPO_ComponentInstall_DAX3HSA_DolbyAudioSpeakerSystem]
ComponentIds = VEN_DOLBY&PID_DAX3HSA_DolbyAudioSpeakerSystem ; Matches with SWC\VEN_DOLBY&PID_DAX3HSA_DolbyAudioSpeakerSystem

[DolbyAPO_ComponentInstall_DAX3HSA_Gaming]
ComponentIds = VEN_DOLBY&PID_DAX3HSA_Gaming ; Matches with SWC\VEN_DOLBY&PID_DAX3HSA_Gaming

[DolbyAPO_ComponentInstall_DAX3HSA_DolbyAtmosSpeakerSystemForGaming]
ComponentIds = VEN_DOLBY&PID_DAX3HSA_DolbyAtmosSpeakerSystemForGaming ; Matches with SWC\VEN_DOLBY&PID_DAX3HSA_DolbyAtmosSpeakerSystemForGaming

[DolbyAPO_ComponentInstall_DAX3HSA_DolbyAccess]
ComponentIds = VEN_DOLBY&PID_DAX3HSA_DolbyAccess ; Matches with SWC\VEN_DOLBY&PID_DAX3HSA_DolbyAccess

[SourceDisksNames]
222="APO Installation Disk",,,

[SourceDisksFiles]
;;; Headphone tunings
; No Gaming
Headphone_Default_Generic_Default_NoGaming3.2.xml = 222
Headphone_Default_Generic_Large_NoGaming3.2.xml = 222
Headphone_Default_Generic_Medium_NoGaming3.2.xml = 222
Headphone_Default_Generic_Small_NoGaming3.2.xml = 222 
Headphone_Default_Generic_Default_NoGaming3.3.xml = 222
Headphone_Default_Generic_Large_NoGaming3.3.xml = 222
Headphone_Default_Generic_Medium_NoGaming3.3.xml = 222
Headphone_Default_Generic_Small_NoGaming3.3.xml = 222 
Headphone_Default_Generic_Default_NoGaming3.4.xml = 222
Headphone_Default_Generic_Large_NoGaming3.4.xml = 222
Headphone_Default_Generic_Medium_NoGaming3.4.xml = 222
Headphone_Default_Generic_Small_NoGaming3.4.xml = 222 
; Gaming
Headphone_Default_Generic_Default_Gaming3.2.xml = 222
Headphone_Default_Generic_Large_Gaming3.2.xml = 222
Headphone_Default_Generic_Medium_Gaming3.2.xml = 222
Headphone_Default_Generic_Small_Gaming3.2.xml = 222 
Headphone_Default_Generic_Default_Gaming3.3.xml = 222
Headphone_Default_Generic_Large_Gaming3.3.xml = 222
Headphone_Default_Generic_Medium_Gaming3.3.xml = 222
Headphone_Default_Generic_Small_Gaming3.3.xml = 222 
Headphone_Default_Generic_Default_Gaming3.4.xml = 222
Headphone_Default_Generic_Large_Gaming3.4.xml = 222
Headphone_Default_Generic_Medium_Gaming3.4.xml = 222
Headphone_Default_Generic_Small_Gaming3.4.xml = 222 
; Speaker tunings
DEV_0289_SUBSYS_10431F11_PCI_SUBSYS_1F111043.xml = 222
; Operator xml
Operator_Info_Asus.xml = 222
; Operator Settings xml
operator_settings.xml = 222

[DestinationDirs]
DolbyAPO_CopyFiles_Common = 10,system32\dolbyaposvc
DolbyAPO_CopyFiles_DolbyAtmos = 10,system32\dolbyaposvc
DolbyAPO_CopyFiles_DolbyAtmosSpeakerSystem = 10,system32\dolbyaposvc
DolbyAPO_CopyFiles_DolbyAudio = 10,system32\dolbyaposvc
DolbyAPO_CopyFiles_DolbyAudioPremium = 10,system32\dolbyaposvc
DolbyAPO_CopyFiles_DolbyAudioSpeakerSystem = 10,system32\dolbyaposvc
DolbyAPO_CopyFiles_Gaming = 10,system32\dolbyaposvc
DolbyAPO_CopyFiles_DolbyAtmosSpeakerSystemForGaming = 10,system32\dolbyaposvc

[DolbyAPO_CopyFiles_Common]
Operator_Info_Asus.xml
operator_settings.xml

[DolbyAPO_CopyFiles_DolbyAtmos]
DEV_0289_SUBSYS_10431F11_PCI_SUBSYS_1F111043.xml
Headphone_Default_Generic_Default_NoGaming3.2.xml
Headphone_Default_Generic_Large_NoGaming3.2.xml
Headphone_Default_Generic_Medium_NoGaming3.2.xml
Headphone_Default_Generic_Small_NoGaming3.2.xml 
Headphone_Default_Generic_Default_NoGaming3.3.xml
Headphone_Default_Generic_Large_NoGaming3.3.xml
Headphone_Default_Generic_Medium_NoGaming3.3.xml
Headphone_Default_Generic_Small_NoGaming3.3.xml 
Headphone_Default_Generic_Default_NoGaming3.4.xml
Headphone_Default_Generic_Large_NoGaming3.4.xml
Headphone_Default_Generic_Medium_NoGaming3.4.xml
Headphone_Default_Generic_Small_NoGaming3.4.xml 

[DolbyAPO_CopyFiles_DolbyAtmosSpeakerSystem]
Headphone_Default_Generic_Default_NoGaming3.2.xml
Headphone_Default_Generic_Large_NoGaming3.2.xml
Headphone_Default_Generic_Medium_NoGaming3.2.xml
Headphone_Default_Generic_Small_NoGaming3.2.xml 
Headphone_Default_Generic_Default_NoGaming3.3.xml
Headphone_Default_Generic_Large_NoGaming3.3.xml
Headphone_Default_Generic_Medium_NoGaming3.3.xml
Headphone_Default_Generic_Small_NoGaming3.3.xml 
Headphone_Default_Generic_Default_NoGaming3.4.xml
Headphone_Default_Generic_Large_NoGaming3.4.xml
Headphone_Default_Generic_Medium_NoGaming3.4.xml
Headphone_Default_Generic_Small_NoGaming3.4.xml 

[DolbyAPO_CopyFiles_DolbyAudio]
Headphone_Default_Generic_Default_NoGaming3.2.xml
Headphone_Default_Generic_Large_NoGaming3.2.xml
Headphone_Default_Generic_Medium_NoGaming3.2.xml
Headphone_Default_Generic_Small_NoGaming3.2.xml 
Headphone_Default_Generic_Default_NoGaming3.3.xml
Headphone_Default_Generic_Large_NoGaming3.3.xml
Headphone_Default_Generic_Medium_NoGaming3.3.xml
Headphone_Default_Generic_Small_NoGaming3.3.xml 
Headphone_Default_Generic_Default_NoGaming3.4.xml
Headphone_Default_Generic_Large_NoGaming3.4.xml
Headphone_Default_Generic_Medium_NoGaming3.4.xml
Headphone_Default_Generic_Small_NoGaming3.4.xml 

[DolbyAPO_CopyFiles_DolbyAudioPremium]
Headphone_Default_Generic_Default_NoGaming3.2.xml
Headphone_Default_Generic_Large_NoGaming3.2.xml
Headphone_Default_Generic_Medium_NoGaming3.2.xml
Headphone_Default_Generic_Small_NoGaming3.2.xml 
Headphone_Default_Generic_Default_NoGaming3.3.xml
Headphone_Default_Generic_Large_NoGaming3.3.xml
Headphone_Default_Generic_Medium_NoGaming3.3.xml
Headphone_Default_Generic_Small_NoGaming3.3.xml 
Headphone_Default_Generic_Default_NoGaming3.4.xml
Headphone_Default_Generic_Large_NoGaming3.4.xml
Headphone_Default_Generic_Medium_NoGaming3.4.xml
Headphone_Default_Generic_Small_NoGaming3.4.xml 

[DolbyAPO_CopyFiles_DolbyAudioSpeakerSystem]
Headphone_Default_Generic_Default_NoGaming3.2.xml
Headphone_Default_Generic_Large_NoGaming3.2.xml
Headphone_Default_Generic_Medium_NoGaming3.2.xml
Headphone_Default_Generic_Small_NoGaming3.2.xml 
Headphone_Default_Generic_Default_NoGaming3.3.xml
Headphone_Default_Generic_Large_NoGaming3.3.xml
Headphone_Default_Generic_Medium_NoGaming3.3.xml
Headphone_Default_Generic_Small_NoGaming3.3.xml 
Headphone_Default_Generic_Default_NoGaming3.4.xml
Headphone_Default_Generic_Large_NoGaming3.4.xml
Headphone_Default_Generic_Medium_NoGaming3.4.xml
Headphone_Default_Generic_Small_NoGaming3.4.xml 

[DolbyAPO_CopyFiles_Gaming]
Headphone_Default_Generic_Default_Gaming3.2.xml
Headphone_Default_Generic_Large_Gaming3.2.xml
Headphone_Default_Generic_Medium_Gaming3.2.xml
Headphone_Default_Generic_Small_Gaming3.2.xml 
Headphone_Default_Generic_Default_Gaming3.3.xml
Headphone_Default_Generic_Large_Gaming3.3.xml
Headphone_Default_Generic_Medium_Gaming3.3.xml
Headphone_Default_Generic_Small_Gaming3.3.xml 
Headphone_Default_Generic_Default_Gaming3.4.xml
Headphone_Default_Generic_Large_Gaming3.4.xml
Headphone_Default_Generic_Medium_Gaming3.4.xml
Headphone_Default_Generic_Small_Gaming3.4.xml 

[DolbyAPO_CopyFiles_DolbyAtmosSpeakerSystemForGaming]
Headphone_Default_Generic_Default_Gaming3.2.xml
Headphone_Default_Generic_Large_Gaming3.2.xml
Headphone_Default_Generic_Medium_Gaming3.2.xml
Headphone_Default_Generic_Small_Gaming3.2.xml 
Headphone_Default_Generic_Default_Gaming3.3.xml
Headphone_Default_Generic_Large_Gaming3.3.xml
Headphone_Default_Generic_Medium_Gaming3.3.xml
Headphone_Default_Generic_Small_Gaming3.3.xml 
Headphone_Default_Generic_Default_Gaming3.4.xml
Headphone_Default_Generic_Large_Gaming3.4.xml
Headphone_Default_Generic_Medium_Gaming3.4.xml
Headphone_Default_Generic_Small_Gaming3.4.xml 

[Strings]
ManufacturerName 	= "Dolby"
Device.ExtensionDesc = "Dolby Device Extension"

REG_MULTI_SZ_APPEND                           = 0x00010008
