;Copyright (c) 1990-2002 Microsoft Corporation All rights Reserved
; for www.skyun.org 2009-08-13 ZYDF
;Module Name:
;   sis7012.INF
;
;Abstract:
;    INF file for installing SiS7012 WDM Driver

[Version]
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
provider=%SiSMfg%
;;LayoutFile=layout.inf, layout1.inf, layout2.inf
CatalogFile=sis7012.cat
DriverVer=11/03/2004,5.10.00.6120

[SourceDisksNames]
222=%SourceDiskName%,,,""

[SourceDisksFiles]
sis7012.sys=222
a3d.dll=222

[Manufacturer]
%SiSMfg%=SiS


[ControlFlags]
ExcludeFromSelect = *
 
[SiS]
%SiS7012.DeviceDesc%=SiS7012,            PCI\VEN_1039&DEV_7012
   
[DestinationDirs]
DefaultDestDir       = 10,system32\drivers ; %SystemRoot%\system32\drivers
SiS7012.CopyList     = 10,system32\drivers
A3D.CopyList         = 11       ; equivalent to %windir%\system32 for win2000

[SiS7012]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
CopyFiles=SiS7012.CopyList, A3D.CopyList
AddReg=SiS7012.AddReg,SiS7012_NAMES.AddReg, SiS7012_OEM.AddReg, SPDIF_Disable.AddReg, NoMic2.AddReg, NoHph.AddReg


[SiS7012.CopyList]
sis7012.sys

[A3D.CopyList]
a3d.dll

[SiS7012.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,SiS7012.Interface.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,SiS7012.Interface.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,SiS7012.Interface.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,SiS7012.Interface.Topology


[SiS7012.Interface.Wave]
AddReg=SiS7012.I.Wave.AddReg

[SiS7012.I.Wave.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%SiS7012.Wave.szPname%

[SiS7012.Interface.Topology]
AddReg=SiS7012.I.Topo.AddReg

[SiS7012.I.Topo.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%SiS7012.Topology.szPname%


[SiS7012.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,sis7012.sys
HKR,,NTMPDriver,,"sis7012.sys,sbemul.sys"

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

HKCR,A3d,,,"A3d Object"
HKCR,A3d\CLSID,,,{d8f1eee0-f634-11cf-8700-00a0245d918b}
HKCR,CLSID\{d8f1eee0-f634-11cf-8700-00a0245d918b},,,"A3d Object"
HKCR,CLSID\{d8f1eee0-f634-11cf-8700-00a0245d918b}\InprocServer32,,,a3d.dll
HKCR,CLSID\{d8f1eee0-f634-11cf-8700-00a0245d918b}\InprocServer32,"ThreadingModel",,"Apartment"


[SiS7012.Services]
AddService = SiS7012, 0x00000002, SiS7012_Service_Inst

[SiS7012_Service_Inst]
DisplayName   = %SiS7012.SvcDesc%
ServiceType   = 1                  ; SERVICE_KERNEL_DRIVER
StartType     = 3                  ; SERVICE_DEMAND_START
ErrorControl  = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\system32\drivers\sis7012.sys


[SiS7012_NAMES.AddReg]
;; Nodes
HKLM,%MediaCategories%\%SISGUID.PhoneVolume%,Name,,%SISNode.PhoneVolume%
HKLM,%MediaCategories%\%SISGUID.PhoneVolume%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.PhoneMute%,Name,,%SISNode.PhoneMute%
HKLM,%MediaCategories%\%SISGUID.PhoneMute%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.LineInMute%,Name,,%SISNode.LineInMute%
HKLM,%MediaCategories%\%SISGUID.LineInMute%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.MainMix%,Name,,%SISNode.MainMix%
HKLM,%MediaCategories%\%SISGUID.MainMix%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.3DBypass%,Name,,%SISNode.3DBypass%
HKLM,%MediaCategories%\%SISGUID.3DBypass%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.3DEnable%,Name,,%SISNode.3DEnable%
HKLM,%MediaCategories%\%SISGUID.3DEnable%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.BeepMix%,Name,,%SISNode.BeepMix%
HKLM,%MediaCategories%\%SISGUID.BeepMix%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.HPVolume%,Name,,%SISNode.HPVolume%
HKLM,%MediaCategories%\%SISGUID.HPVolume%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.HPMute%,Name,,%SISNode.HPMute%
HKLM,%MediaCategories%\%SISGUID.HPMute%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.MonoOutSelect%,Name,,%SISNode.MonoOutSelect%
HKLM,%MediaCategories%\%SISGUID.MonoOutSelect%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.WaveInSelect%,Name,,%SISNode.WaveInSelect%
HKLM,%MediaCategories%\%SISGUID.WaveInSelect%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.MasterInVolume%,Name,,%SISNode.MasterInVolume%
HKLM,%MediaCategories%\%SISGUID.MasterInVolume%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.MasterInMute%,Name,,%SISNode.MasterInMute%
HKLM,%MediaCategories%\%SISGUID.MasterInMute%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.MicInVolume%,Name,,%SISNode.MicInVolume%
HKLM,%MediaCategories%\%SISGUID.MicInVolume%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.MicInMute%,Name,,%SISNode.MicInMute%
HKLM,%MediaCategories%\%SISGUID.MicInMute%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.SimulStereo%,Name,,%SISNode.SimulStereo%
HKLM,%MediaCategories%\%SISGUID.SimulStereo%,Display,1,00,00,00,00
;;Add for W2000 080601
HKLM,%MediaCategories%\%SISGUID.SurroundVolume%,Name,,%SISNode.SurroundVolume%
HKLM,%MediaCategories%\%SISGUID.SurroundVolume%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.SurroundMute%,Name,,%SISNode.SurroundMute%
HKLM,%MediaCategories%\%SISGUID.SurroundMute%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.CenterVolume%,Name,,%SISNode.CenterVolume%
HKLM,%MediaCategories%\%SISGUID.CenterVolume%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.CenterMute%,Name,,%SISNode.CenterMute%
HKLM,%MediaCategories%\%SISGUID.CenterMute%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.LFEVolume%,Name,,%SISNode.LFEVolume%
HKLM,%MediaCategories%\%SISGUID.LFEVolume%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.LFEMute%,Name,,%SISNode.LFEMute%
HKLM,%MediaCategories%\%SISGUID.LFEMute%,Display,1,00,00,00,00
;;SPDIF_Panel
HKLM,%MediaCategories%\%SISGUID.SpdifMute%,Name,,%SISNode.SpdifMute%
HKLM,%MediaCategories%\%SISGUID.SpdifMute%,Display,1,00,00,00,00
;;SPDIF_Panel
;;ALC650
HKLM,%MediaCategories%\%SISGUID.SurroundSwitch%,Name,,%SISNode.SurroundSwitch%
HKLM,%MediaCategories%\%SISGUID.SurroundSwitch%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.CenLFESwitch%,Name,,%SISNode.CenLFESwitch%
HKLM,%MediaCategories%\%SISGUID.CenLFESwitch%,Display,1,00,00,00,00
;;ALC650

;;Pins
HKLM,%MediaCategories%\%SISGUID.Surround%,Name,,%SISPin.Surround%
HKLM,%MediaCategories%\%SISGUID.Surround%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.Center%,Name,,%SISPin.Center%
HKLM,%MediaCategories%\%SISGUID.Center%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SISGUID.LFE%,Name,,%SISPin.LFE%
HKLM,%MediaCategories%\%SISGUID.LFE%,Display,1,00,00,00,00
;;SPDIF_Panel
HKLM,%MediaCategories%\%SISGUID.Spdif%,Name,,%SISPin.Spdif%
HKLM,%MediaCategories%\%SISGUID.Spdif%,Display,1,00,00,00,00
;;SPDIF_Panel
HKLM,%MediaCategories%\%SISGUID.MasterOut%,Name,,%SISPin.MASTEROUT%
HKLM,%MediaCategories%\%SISGUID.MasterOut%,Display,1,00,00,00,00


[SiS7012_OEM.AddReg]
;;Default register value at driver startup
;;Uncomment some one of the lines if you want to overwrite the default setting
;;The value in these outcommented lines is the driver default. You can change
;;the register values (and uncomment the line) to overwrite the driver default.
;;low byte comes first, values are hexadezimal.
HKR,Settings,MasterVolume,1,0,0         ;0dB
;HKR,Settings,HeadphoneVolume,1,0,0             ;0dB
;HKR,Settings,MonooutVolume,1,0,0               ;0dB
;HKR,Settings,ToneControls,1,F,F                ;bypass
HKR,Settings,BeepVolume,1,0,0                   ;0dB
HKR,Settings,PhoneVolume,1,8,0                  ;0db
HKR,Settings,MicVolume,1,8,80                   ;muted
HKR,Settings,LineInVolume,1,8,8                 ;0dB
HKR,Settings,CDVolume,1,8,8                     ;0dB
HKR,Settings,VideoVolume,1,8,8                  ;0dB
HKR,Settings,AUXVolume,1,8,8                    ;0dB
HKR,Settings,WaveOutVolume,1,8,8                ;0dB. This register is never touched by the system.
HKR,Settings,RecordSelect,1,0,0                 ;select Microphone
HKR,Settings,RecordGain,1,0,0                   ;0dB
HKR,Settings,RecordGainMic,1,0,0                ;0dB
HKR,Settings,GeneralPurpose,1,0,0               ;pre 3D, 3D off, loudness off, mono=mix, mic1
HKR,Settings,3DControl,1,0,0                    ;0%
HKR,Settings,PowerDown,1,0,0                    ;no power down

HKR,Settings,DisableMonoOut,1,1
HKR,Settings,DisableMicIn,1,1

HKR,Settings,HPoutSyncWithMaster,1,0
HKR,Settings,SPDIF,1,0
HKR,Settings,DISABLE_CODEC_VRA,1,0
HKR,Settings,DISABLE_SPDIF_VRA,1,0

;; 0:Win98Se, 1:WinMe, 2:Win2000, 3:WinXp  
HKR,Settings,OsVersion,1,3

[SPDIF_Disable.AddReg]
HKR,Settings,SPDIF,1,0

[NoMic2.AddReg]
HKR,Settings,DisableMic2,1,1

[NoHph.AddReg]
HKR,Settings,DisableHeadphone,1,1


[Strings]
SiSMfg="Silicon Integrated Systems Corp.(1.12.06)"
SiS7012.DeviceDesc="SiS 7012 Audio Driver "
SourceDiskName="SiS 7012 WDM Driver Disk"


SiS7012.Wave.szPname="SiS 7012 Wave"
SiS7012.Topology.szPname="SiS 7012 Mixer"
WDM_MIDI="SiS Audio Driver"
;SiSAudioWDM.Wavetable.szPname="SiS Wavetable"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"

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}"
;KSCATEGORY_TOPOLOGY="{DDA54A40-1E4C-11D1-A050-405705C10000}"
KSNAME_Wave="Wave"
KSNAME_Topology="Topology"
;KSNAME_FMSynth="FMSynth"
;KSNAME_Wavetable="Wavetable"


SiS7012.SvcDesc = "Service for AC'97 Sample Driver (WDM)"


;; Nodes (non-localizeable)
SISGUID.PhoneVolume     ="{4D9F4369-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.PhoneMute       ="{4D9F436A-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.LineInMute      ="{4D9F4373-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.MainMix         ="{4D9F437D-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.3DBypass        ="{4D9F4380-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.3DEnable        ="{B8280A94-8467-4AD0-9341-77C82E674540}"
SISGUID.BeepMix         ="{4D9F4381-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.HPVolume        ="{4D9F4387-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.HPMute          ="{4D9F4388-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.MonoOutSelect   ="{4D9F438B-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.WaveInSelect    ="{4D9F4390-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.MasterInVolume  ="{4D9F4391-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.MasterInMute    ="{4D9F4392-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.MicInVolume     ="{4D9F4394-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.MicInMute       ="{4D9F4395-11DA-4634-9CE9-51FDB77AD05C}"
SISGUID.SimulStereo     ="{05A4CC26-47D0-4AFA-901E-8342C638B6C0}"
SISGUID.SurroundVolume  ="{AB46F5DC-24E1-48cc-A18F-737ED883DC79}"
SISGUID.SurroundMute    ="{BCD62494-232C-4035-B478-DDD61A6ACF0A}"
SISGUID.CenterVolume    ="{2813A57D-5F10-425C-9365-E0B2BA3678F8}"
SISGUID.CenterMute      ="{70B9CD07-8BBB-4ef6-A138-1C801DB056D0}"
SISGUID.LFEVolume       ="{DFBB9EC8-9132-493e-AF6C-A574A9876292}"
SISGUID.LFEMute         ="{C94D7210-ABB0-43aa-9762-C6276B08BA8B}"
;;ALC650
SISGUID.SurroundSwitch	="{23A4542D-6228-4d0a-8976-55A4C2DAE4CD}"
SISGUID.CenLFESwitch	="{3B5F5DC8-B378-410d-89BE-9AF6B773E00C}"
;;ALC650
;;SPDIF_Panel
SISGUID.Spdif	        ="{10D5FE13-D3A5-48bc-857A-517B413B0B2D}"
SISGUID.SpdifMute       ="{5F34BB10-24AC-4584-9C37-447A0515E99C}"
;;SPDIF_Panel
SISGUID.Surround        ="{DC9FBA85-20B2-4aef-B805-EACEE250406F}"
SISGUID.Center          ="{015F727F-90D2-4d7f-AB8F-3139801D0947}"
SISGUID.LFE             ="{6C498C94-68AF-4eca-A1C7-159B778364D5}"

SISGUID.MasterOut       ="{2AE18915-AE3A-4561-977A-A5F3905A46B9}"

;Sony Request
SonyGUID.MasterVolume		="{2BA220E0-2CFA-11D6-A93C-0000E83B6F8E}"
SonyGUID.Aux  			="{2BA220E1-2CFA-11D6-A93C-0000E83B6F8E}"
SonyGUID.CD			="{2BA220E2-2CFA-11D6-A93C-0000E83B6F8E}"
SonyGUID.Phone			="{2BA220E3-2CFA-11D6-A93C-0000E83B6F8E}"
SonyGUID.Mic_20dB		="{2BA220E4-2CFA-11D6-A93C-0000E83B6F8E}"
SonyGUID.Wavetable		="{2BA220E5-2CFA-11D6-A93C-0000E83B6F8E}"
SonyGUID.Video                  ="{2BA220E6-2CFA-11D6-A93C-0000E83B6F8E}"

;; Nodes (localizeable)
SISNode.PhoneVolume     ="Phone Volume"
SISNode.PhoneMute       ="Phone Mute"
SISNode.LineInMute      ="Line In Mute"
SISNode.MainMix         ="Main Mix"
SISNode.3DBypass        ="3D Bypass"
SISNode.3DEnable        ="3D Enable"
SISNode.BeepMix         ="Beep Mix"
SISNode.HPVolume        ="Headphone Volume"
SISNode.HPMute          ="Headphone Mute"
SISNode.MonoOutSelect   ="Mono Out Select"
SISNode.WaveInSelect    ="Wave In Select"
SISNode.MasterInVolume  ="Wave In Volume"
SISNode.MasterInMute    ="Wave In Mute"
SISNode.MicInVolume     ="Mic In Volume"
SISNode.MicInMute       ="Mic In Mute"
SISNode.SimulStereo     ="Simulated Stereo"
SISNode.SurroundVolume  ="Rear Speaker Volume"
SISNode.SurroundMute    ="Rear Speaker Mute"
SISNode.CenterVolume    ="Center Volume"
SISNode.CenterMute      ="Center Mute"
SISNode.LFEVolume       ="Subwoofer Volume"
SISNode.LFEMute         ="Subwoofer Mute"
;;ALC650
SISNode.SurroundSwitch	="Switch Line-In to Surround Output"
SISNode.CenLFESwitch	="Switch Mic-In to Center/LFE Output"
;;ALC650
;;SPDIF_Panel
SISNode.SpdifMute       ="SPDIF Mute"
SISPin.Spdif		="SPDIF"
;;SPDIF_Panel
;; Pins
SiSPin.Surround         ="Rear Speaker"
SiSPin.Center           ="Center"
SiSPin.LFE              ="Subwoofer"

SISPin.MasterOut       ="Volume Control"

SonyName.MasterVolume	="Master Volume"
SonyName.Aux		="Aux "
SonyName.CD		="CD Audio"
SonyName.Phone		="Phone"
SonyName.Mic_20dB	="Mic +20dB Up"
SonyName.Video		="MD"
