;Copyright (c) 1990-2002 ESI Corporation All rights Reserved
;
; ProDigy-7.1
;=======================================================================================;

;=======================================================================================;
[Version]
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Provider%
CatalogFile.ntx86=x86.cat
CatalogFile.ntamd64=x64.cat
DriverVer=09/01/2006,6.0.9999.0

;=======================================================================================;
[SourceDisksNames]
111 = %DiskDescription%,,,
222 = %DiskDescription%,,,
333 = %DiskDescription%,,,
[SourceDisksNames.x86]
111 = %DiskDescription%,,,
222 = %DiskDescription%,,,
333 = %DiskDescription%,,,
[SourceDisksNames.amd64]
111 = %DiskDescription%,,,
222 = %DiskDescription%,,,

[SourceDisksFiles]
Audiotrak.ico	= 111
Pd71.sys		= 222
Pd71Wdm.sys		= 222
Pd71Pan.exe		= 222
Pd71Asio.dll	= 222	
Pd71Qve.sys		= 333
SpkrTest.dll	= 333
monotest.wav	= 333
cInstAtrk.dll	= 333

;=======================================================================================;
[WDM.CopyList]
Pd71Wdm.sys

[EWDM.CopyList]
Pd71.sys

[EWDM.App.CopyList]
Pd71Pan.exe
Pd71Asio.dll
Audiotrak.ico

[QSoftAud.CopyList]
Pd71Qve.sys

[CoInst.CopyList]
cInstAtrk.dll
SpkrTest.dll
monotest.wav

[DestinationDirs]
WDM.CopyList=10,system32\drivers
EWDM.CopyList=10,system32\drivers
EWDM.App.CopyList=10,system32
QSoftAud.CopyList=10,system32\drivers
CoInst.CopyList=10,system32

[DriverUp]
CopyFiles=EWDM.CopyList,EWDM.App.CopyList,WDM.CopyList,QSoftAud.CopyList,CoInst.CopyList

;=======================================================================================;
;[Manufacturer]
;=======================================================================================;
[Manufacturer]
"AUDIOTRAK"=DEVICES,NTx86,NTamd64

[DEVICES]
%DESC_DEVICE_AA%=DEVICE_AA, %PNPID_DEVICE_AA%
%DESC_DEVICE_01%=DEVICE_01, %PNPID_DEVICE_01%
%DESC_DEVICE_02%=DEVICE_02, %PNPID_DEVICE_02%

[DEVICES.NTx86]
%DESC_DEVICE_AA%=DEVICE_AA, %PNPID_DEVICE_AA%
%DESC_DEVICE_01%=DEVICE_01, %PNPID_DEVICE_01%
%DESC_DEVICE_02%=DEVICE_02, %PNPID_DEVICE_02%

[DEVICES.NTamd64]
%DESC_DEVICE_AA%=DEVICE_AA, %PNPID_DEVICE_AA%
%DESC_DEVICE_01%=DEVICE_01, %PNPID_DEVICE_01%
%DESC_DEVICE_02%=DEVICE_02, %PNPID_DEVICE_02%

;=======================================================================================;
; DEVICE_AA 
;=======================================================================================;
[DEVICE_AA]
CopyFiles=EWDM.CopyList,EWDM.App.CopyList
AddReg=DEVICE_AA.ASIO.AddReg;,DEVICE_AA.AddReg

[DEVICE_AA.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%FILE.EWDM%

[DEVICE_AA.ASIO.AddReg]
HKLM,SOFTWARE\ASIO\%ASIO_DriverNAME%,CLSID,,%ASIO_DriverGUID%
HKCR,CLSID\%ASIO_DriverGUID%,,,%ASIO_DriverNAME%
HKCR,CLSID\%ASIO_DriverGUID%\InProcServer32,,,"%10%\system32\%FILE.ASIO%"
HKCR,CLSID\%ASIO_DriverGUID%\InProcServer32,ThreadingModel,,"Apartment"
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,%FILE.PANEL%,,%FILE.PANEL%

[DEVICE_AA.Services]
AddService = %FILE.EWDM%, 0x00000002, DEVICE_AA_Service_Inst

[DEVICE_AA_Service_Inst]
DisplayName   = %DEVICE_AA.SvcDesc%
ServiceType   = 1                  
StartType     = 1                  
ErrorControl  = 1                  
ServiceBinary = %12%\%FILE.EWDM%

;=======================================================================================;
; DEVICE_01
;=======================================================================================;
[DEVICE_01]
AlsoInstall=KS.Registration(ks.inf), WDMAUDIO.Registration(wdmaudio.inf)
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
CopyFiles=WDM.CopyList
AddReg=WDM.AddReg,RunOncePanel

[DEVICE_01.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topo%,WDM.Interface.Topo1
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM.Interface.Wave1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM.Interface.Wave1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM.Interface.Wave1

[WDM.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,%FILE.WDM%
HKR,,NTMPDriver,,%FILE.WDM%
HKR,Drivers,SubClasses,,"wave,mixer"
HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,%MME.DriverDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%MME.DriverDesc%
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%MME.DriverDesc%
HKR,,SetupPreferredAudioDevices,3,01,00,00,00
HKR,Branding,icon,,"%11%\Audiotrak.ico"
HKR,Branding,url,,"http://audiotrak.net"

[WDM.Interface.Topo1]
AddReg=WDM.Interface.Topo1.AddReg
[WDM.Interface.Topo1.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Topo1.szPname%

[WDM.Interface.Wave1]
AddReg=WDM.Interface.Wave1.AddReg
[WDM.Interface.Wave1.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Wave1.szPname%

[DEVICE_01.Services]
AddService = %FILE.WDM%, 0x00000002, DEVICE_01_Service_Inst

[DEVICE_01_Service_Inst]
DisplayName   = %DEVICE_01.SvcDesc%
ServiceType   = 1                  ; SERVICE_KERNEL_DRIVER
StartType     = 3                  ; SERVICE_DEMAND_START
ErrorControl  = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\%FILE.WDM%

;=======================================================================================;
; DEVICE_02 QSound 98/ME registration 
;=======================================================================================;
[DEVICE_02]
AlsoInstall=KS.Registration(ks.inf),WDMAUDIO.Registration(wdmaudio.inf)
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=QSoftAud.CopyList,CoInst.CopyList
AddReg=QSoftAud.AddReg,RunOncePanel

[DEVICE_02.CoInstallers]
CopyFiles = CoInst.CopyList
AddReg = DEVICE_02.CoInst_AddReg

[DEVICE_02.CoInst_AddReg]
HKR,,CoInstallers32,0x00010000,"cInstAtrk.dll,CoInst"

[DEVICE_02.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_WaveQ%,QSoftAud.I.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_WaveQ%,QSoftAud.I.Wave
;AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_WaveQ%,QSoftAud.I.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_TopologyQ%,QSoftAud.I.Topo

[QSoftAud.AddReg]
;HKR,,SetupPreferredAudioDevices,3,01,00,00,00
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,%FILE.QSYS%
HKR,,NTMPDriver,,%FILE.QSYS%
HKR,,FriendlyName,,%DESC_DEVICE_02%
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,,%DESC_DEVICE_02%
HKR,Drivers\midi\wdmaud.drv,Description,,%QSoftAud_MIDI%
HKR,Drivers\mixer\wdmaud.drv,Description,,%DESC_DEVICE_02%
HKR,Q3d,Latency,,"10"
HKR,Output,MakeSpdifCopy,0x00010001,0x1
HKR,Output,UseFixedFormat,0x00010001,0x0
;HKR,Output,CaptureLoopbackON,0x00010001,0x1
HKR,Output,AudioTrak,0x00010001,0x1

[QSoftAud.I.Wave]
AddReg=QSoftAud.I.Wave.AddReg
[QSoftAud.I.Wave.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%QSoftAud.Wave.szPname%
[QSoftAud.I.Topo]
AddReg=QSoftAud.I.Topo.AddReg
[QSoftAud.I.Topo.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%QSoftAud.Topo.szPname%

[DEVICE_02.Services]
AddService=%FILE.QSYS%,0x00000002,QSoftAud_Service_Inst

[QSoftAud_Service_Inst]
DisplayName=%QSoftAud.SvcDesc%
ServiceType=1
StartType=1
ErrorControl=1
ServiceBinary=%12%\%FILE.QSYS%

[RunOncePanel]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,%FILE.PANEL%,,"%FILE.PANEL% Install"

;====================== Strings ========================================================;
[Strings]
Proxy.CLSID             ="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO        ="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER       ="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE      ="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSNAME_Topo             ="ESI_Mixer"
KSNAME_Wave             ="ESI_Wave"
KSNAME_WaveQ			="Wave"
KSNAME_TopologyQ		="Topology"

Provider				="AUDIOTRAK Products"
DiskDescription         ="ProDigy 7.1 Windows Driver for X86, X64"
DESC_DEVICE_AA			="ProDigy 7.1 Controller"
DESC_DEVICE_01			="ProDigy 7.1"
DESC_DEVICE_02			="QVE 96-24 (WDM)"
PNPID_DEVICE_AA			="PCI\VEN_1412&DEV_1724&SUBSYS_45534933"
PNPID_DEVICE_01			="AUDIOTRAK\PRODG71_01"
PNPID_DEVICE_02			="AUDIOTRAK\PRODG71_02"
DEVICE_AA.SvcDesc       ="Service for ProDigy 7.1 EWDM2"
DEVICE_01.SvcDesc       ="Service for ProDigy 7.1 WDM11"
QSoftAud.SvcDesc		="QVE for Prodigy 7.1 Service"

MME.DriverDesc          ="ProDigy 7.1 MME Driver"
WDM.Wave1.szPname       ="ProDigy 7.1" ;/========== Panel Name/
WDM.Topo1.szPname       ="ProDigy 7.1 Mixer" 
QSoftAud.Wave.szPname	="QVE for Prodigy 7.1" ;/========== Panel Name/
QSoftAud.Topo.szPname	="QVE for Prodigy 7.1Topology"
QSoftAud_MIDI			="QVE -> WDM Midi Device"

ASIO_DriverGUID        	="{936D4541-3C6E-11d7-8404-00E04CC0C33C}"
ASIO_DriverNAME        	="ASIO 2.0 - ProDigy 7.1"
FILE.EWDM				="Pd71.sys"
FILE.WDM				="Pd71Wdm.sys"
FILE.ASIO				="Pd71Asio.dll"
FILE.PANEL				="Pd71Pan.exe"
FILE.QSYS				="Pd71Qve.sys"

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

