;------------------------------------------------------------------------
;   A88AudBB.inf
;       
;       This file contains installation inforamtion for audio capture 
;       driver (AVStream) of AVerMedia's TV tuner card.
;       
;   Copyright and Disclaimer:
;       
;       This software is provided "as is" without warranty of any kind,
;       either expressed or implied, including but not limited to the
;       implied warranties of merchantability and/or fitness for a
;       particular purpose.
;       
;       Copyright (c) 2001-2004 AVerMedia Technologies, Inc.
;       All Rights Reserved.
;       
;------------------------------------------------------------------------

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="AVerMedia"
DriverVer=03/03/2005,1.0.6.14
CatalogFile=A88AudBB.cat

[Manufacturer]
"AVerMedia"=AVerMedia

[SourceDisksNames]
1="AVerMedia M150 H/W MPEG Card Drivers",,,""

[SourceDisksFiles]	
A88AudBB.sys=1

[AVerMedia]
; M150 Models
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801&SUBSYS_C0111461
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811&SUBSYS_C0111461
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801&SUBSYS_C1111461
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811&SUBSYS_C1111461
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801&SUBSYS_C1161461
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811&SUBSYS_C1161461
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801&SUBSYS_C00B1461
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811&SUBSYS_C00B1461
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801&SUBSYS_C10B1461
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811&SUBSYS_C10B1461
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801&SUBSYS_C1151461 ; Russia
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811&SUBSYS_C1151461 ; Russia
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801&SUBSYS_C00E1461
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811&SUBSYS_C00E1461

; M183 Models
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801&SUBSYS_C2111461 ; M183, NTSC
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811&SUBSYS_C2111461 ; M183, NTSC
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801&SUBSYS_C20B1461 ; M183, PAL
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811&SUBSYS_C20B1461 ; M183, PAL

; M15F Models
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801&SUBSYS_C30C1461 ; M15F, NTSC-J
%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811&SUBSYS_C30C1461 ; M15F, NTSC-J

; For Debugging
;%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8801
;%CX23880.DeviceDesc%=AUD,  PCI\VEN_14F1&DEV_8811

[AUD]
Include=    ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs=      KS.Registration
AddReg=     CX880.AddReg,AUD.AddReg
CopyFiles=  CX880.CopyDrivers

[DestinationDirs]
CX880.CopyDrivers=10,system32\drivers

[CX880.CopyDrivers]
A88AudBB.sys

[CX880.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,A88AudBB.sys
HKR,,OkToHibernate,3,01
; Disable driver page out
HKR,,PageOutWhenUnopened,3,0
;HKR,,PageOutWhenUnopened,3,01
HKR,,DontSuspendIfStreamsAreRunning,3,01
;HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioPinID%,Display,1, 00,00,00,00
;HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioPinID%,Name,,%AudioPinName%
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioInPinID%,Name,,%AudioInPinName%
HKLM,System\CurrentControlSet\Control\MediaCategories\%AudioOutPinID%,Name,,%AudioOutPinName%

;Wave in audio device registration
HKR,Drivers,SubClasses,,"wave"
HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,%AUDFriendlyName%

;
; Driver Configuration Registry Entries
;

[AUD.AddReg]
; Default to tuner input
HKR,"DriverData","InputSelect",0x00010001,    0x00,0x00,0x00,0x00

; 48 KHz operation
HKR,"DriverData","SampleRate" ,0x00010001,   0x80,0xBB,0x00,0x00

;
; Interfaces installation
;

;
; Audio
;

[AUD.Interfaces]
; KSCATEGORY_CAPTURE
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%KsNameFilter%,AUD_Interface,
; KSCATEGORY_AUDIO  
AddInterface={6994AD04-93EF-11D0-A3CC-00A0C9223196},%KsNameFilter%,AUD_Interface,

[AUD_Interface]
AddReg=AUD_Interface.AddReg

[AUD_Interface.AddReg]
HKR,,CLSID,,%Proxy.CLSID%       ; {17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%AUDFriendlyName%

;
; Services installation
;

[AUD.Services]
AddService = CXAVSAUD,2,AUD.ServiceInstall

[AUD.ServiceInstall]
DisplayName   = %CX23880.DeviceDesc%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %10%\system32\drivers\A88AudBB.sys

;
; Driver Configuration Registry Entries
;

[NECPVR1.AddReg]
; Default to I2S input
HKR,"DriverData","InputSelect",0x00010001,   0x01,0x00,0x00,0x00

; 48 KHz operation
HKR,"DriverData","SampleRate" ,0x00010001,   0x80,0xBB,0x00,0x00

;
; Interfaces installation
;

;
; Audio
;

[NECPVR1.Interfaces]
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},%KsNameFilter%,NECPVR1_Interface,

[NECPVR1_Interface]
AddReg=NECPVR1_Interface.AddReg

[NECPVR1_Interface.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%AUDFriendlyName%

;
; Services installation
;

[NECPVR1.Services]
AddService = CXAVSAUD,2,NECPVR1.ServiceInstall

[NECPVR1.ServiceInstall]
DisplayName   = %CX23880.DeviceDesc%
ServiceType   = 1
StartType     = 2
ErrorControl  = 1
ServiceBinary = %10%\system32\drivers\A88AudBB.sys

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]
KsNameFilter        = 	"{9B365890-165F-11D0-A195-0020AFD156E4}"

; Category GUIDs
KSCATEGORY_CAPTURE  = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_AUDIO    = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSSTRING_Filter	    = "{9B365890-165F-11D0-A195-0020AFD156E4}"

Proxy.CLSID         =   "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

CX23880.DeviceDesc  = 	"AVerMedia AVerTV AvStream Audio Capture"
AUDFriendlyName     =  	"AVerMedia AVerTV AvStream Audio Capture"
AudioInPinID        =   "{27C304E1-80F6-11d5-AFD4-0001032B6C32}"
AudioInPinName      =   "Audio Input"
AudioOutPinID       =   "{27C304E1-80F6-11d5-AFD4-0001032B6C31}"
AudioOutPinName     =   "AvStream Audio"
CX23880.null        = 	"AVerMedia AVerTV (unused device function)"
CX23881.null        = 	"AVerMedia AVerTV (unused device function)"
