;
;vpaud.inf Installation File for ViP Series Digital Audio/Video Adapter
;Copyright(c) 2003 Aviclink Corporation.  All rights reserved.
;


[Version]
LayoutFile=Layout.inf
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
provider=%AVLK%
DriverVer=04/28/2004,5.1.2600.30
CatalogFile=vpaud.cat

[Manufacturer]
%MfgName%=Compro

;============================================================================
[ControlFlags]
ExcludeFromSelect = *

[Compro]
%USB\CLASS_01.DeviceDesc%=USBAudio, USB\Vid_0dda&Pid_5000&MI_01

%USB\CLASS_01.DeviceDesc%=USBAudio, USB\Vid_185b&Pid_3000&MI_01
%USB\CLASS_01.DeviceDesc%=USBAudio, USB\Vid_185b&Pid_3040&MI_01
%USB\CLASS_01.DeviceDesc%=USBAudio, USB\Vid_185b&Pid_3001&MI_01
%USB\CLASS_01.DeviceDesc%=USBAudio, USB\Vid_185b&Pid_3041&MI_01
%USB\CLASS_01.DeviceDesc%=USBAudio, USB\Vid_185b&Pid_3140&MI_01
%USB\CLASS_01.DeviceDesc%=USBAudio, USB\Vid_185b&Pid_3141&MI_01

[SourceDisksNames]
1=%ViPSrcDisk%,,,""

[SourceDisksFiles]
vpaud.sys = 1,,

[DestinationDirs]
DefaultDestDir = 10,system32\drivers
USBAudio.CopyList     = 10,system32\drivers ; %SystemRoot%\system32\drivers

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

[USBAudio]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=USBAudio.CopyList
AddReg=USBAudio.AddReg
KnownFiles = USBAudio.KnownFiles

[USBAudio.HW]
AddReg=USBAudio.AddRegWin16

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

[USBAudio.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,"GLOBAL",USBAudio.Interface.Curve
AddInterface=%KSCATEGORY_RENDER%,"GLOBAL",USBAudio.Interface.Curve
AddInterface=%KSCATEGORY_CAPTURE%,"GLOBAL",USBAudio.Interface.Curve

[USBAudio.Interface.Curve]
AddReg=USBAudio.Interface.Addreg.Curve

[USBAudio.Interface.AddReg.Curve]
HKR,,FriendlyName,,%USB\CLASS_01.DeviceDesc%
HKR,,CurveType,1,01,00,00,00
HKR,,CLSID,,%Proxy.CLSID%

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

[USBAudio.AddReg]
;; Usb audio specific registry update sutff
HKR,,SetupPreferredAudioDevices,3,01,00,00,00
HKR,,AssociatedFilters,,"wdmaud,redbook"
HKR,,Driver,,USBAUDIO.sys
HKR,,NTMPDriver,,"USBAUDIO.sys,sbemul.sys"

HKR,,CLSID,,%Proxy.CLSID%

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,,%USBGenericDesc%
HKR,Drivers\midi\wdmaud.drv,Description,,%WDM_MIDI%
HKR,Drivers\mixer\wdmaud.drv,Description,,%USBGenericDesc%
HKR,Drivers\aux\wdmaud.drv,Description,,%USBGenericDesc%

HKLM,%MediaCategories%\%USBGUID.BassBoost%,Name,,%USBNode.BassBoost%
HKLM,%MediaCategories%\%USBGUID.BassBoost%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%USBGUID.StereoExtend%,Name,,%USBNode.StereoExtend%
HKLM,%MediaCategories%\%USBGUID.StereoExtend%,Display,1,00,00,00,00

[USBAudio.AddRegWin16]
HKR,,lowerfilters,0x00010000,"vpaud.sys"

[USBAudio.AddRegWin32]
HKR,,"LowerFilters",0x00010000,"devlower"
;;HKR,,"FriendlyName",,%USB\CLASS_01.DeviceDesc%

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

;; Copy to system32\drivers
[USBAudio.CopyList]
USBAUDIO.sys
vpaud.sys

[USBAudio.KnownFiles]
usbaudio.sys.4.10.0 = safe

;;**************** NT Install ****************

[USBAudio.NT]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=USBAudio.CopyList
AddReg=USBAudio.AddReg 
KnownFiles = USBAudio.KnownFiles

[USBAudio.NT.HW]
AddReg=USBAudio.AddRegWin32 

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

[USBAudio.NT.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,GLOBAL,USBAudio.Interface.Curve,
AddInterface=%KSCATEGORY_RENDER%,GLOBAL,USBAudio.Interface.Curve,
AddInterface=%KSCATEGORY_CAPTURE%,GLOBAL,USBAudio.Interface.Curve,

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

[USBAudio.NT.Services]
AddService = ViPAud,0x00000002, usbaudio_Service_Inst
AddService = ViPAudFlt,, devlower_Service_Inst

[usbaudio_Service_Inst]
DisplayName    = %USBAudio.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\usbaudio.sys

; -------------- devlower Driver install section
[devlower_Service_Inst]
DisplayName    = %devlower.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\vpaud.sys
;;LoadOrderGroup = PNP Filter

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

[Strings]
AVLK="Compro Technology, Inc."
MfgName="Compro Technology, Inc."
ViPSrcDisk="VideoMate For You Installation CD"
USB\CLASS_01.DeviceDesc="USB Audio Device"
USBGenericDesc="Generic Audio Device"

WDM_MIDI="WDM MIDI Device"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"

;; USB Friendly Names (Non-localized)
USBGUID.BassBoost    = "{1A71EBE0-959E-11D1-B448-00A0C9255AC1}"
USBGUID.StereoExtend = "{FD4F0300-9632-11D1-B448-00A0C9255AC1}"

;; USB Friendly Names (localized)
USBNode.BassBoost    = "Bass Boost"
USBNode.StereoExtend = "Stereo Extender"

USBAudio.SvcDesc="VideoMate Action USB Audio"
devlower.SVCDESC = "VideoMate Action USB Audio Filter"

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}"
