[Version]
Signature="$CHICAGO$"
Class=MEDIA
provider=Crystal

[ClassInstall]
AddReg=Class.AddReg

[Class.AddReg]
HKR,,,,%MediaClassName%
HKR,,Icon,,"-1"
HKR,,Installer,,mmci.dll

[Manufacturer]
%CSMfgName%=Crystal

[Crystal]
%*CSC0000.DeviceDesc%=CSC0000_Device,, *CSC0000
%*CSCFFFF.DeviceDesc%=CSCFFFF_Device,, *CSCFFFF
%*CSC0001.DeviceDesc%=CSC0001_Device,, *CSC0001
%*CSC0010.DeviceDesc%=CSC0010_Device,, *CSC0010
%*CSC0003.DeviceDesc%=CSC0003_Device,, *CSC0003
%*CSC000F.DeviceDesc%=CSC000F_Device,, *CSC000F
%*CSC0004.DeviceDesc%=CSC0004_Device,, *CSC0004

; This was added since OSR2 does not support NODRIVER.INF.  We basically
; treat CSC0002 and CSC0010 the same.
%*CSC0010.DeviceDesc%=CSC0010_Device,, *CSC0002

; Special Mobile Triton I devnode.
%*CSC0011.DeviceDesc%=CSC0011_Device,, *CSC0011


;--------------------------------------------------------------------------

[CSCFFFF_Device]
DelFiles=WSS.DelList
CopyFiles=WSS.CopyList,Windir.CopyList,Power.CopyList,WSTREAM.CopyDriver
UpdateInis=WSS.UpdateInis
UpdateCfgSys=CWBINIT.UpdateCfgSys
reboot

[CSC0000_Device]
DelFiles=WSS.DelList
CopyFiles=WSS.CopyList,Windir.CopyList,Power.CopyList,WSTREAM.CopyDriver
AddReg=WAVE.AddReg, MIXER.AddReg, CSC0000.AddReg, WSS.AddReg, Power.AddReg
DelReg=CSC0000.DelReg
UpdateInis=WSS.UpdateInis
UpdateCfgSys=CWBINIT.UpdateCfgSys
;Uncomment the next line if you wish to use this .inf with NULL resources
;reboot

[WSS.UpdateInis]
system.ini,386Enh,"device=vsndsys.386"
system.ini,drivers,"wave*=sndsys.drv",,1
system.ini,drivers,"wave*=cs31ba11.drv",,1
system.ini,drivers,"wave*=cwbaudio.drv",,1
system.ini,drivers,"midi*=sndsys.drv",,1
system.ini,drivers,"aux*=sndsys.drv",,1
system.ini,drivers,"aux*=cs31ba11.drv",,1
system.ini,drivers,"aux*=cwbaudio.drv",,1
system.ini,drivers,"mixer*=sndsys.drv",,1
system.ini,drivers,"mixer*=cs31ba11.drv",,1
system.ini,drivers,"mixer*=cwbaudio.drv",,1

[WSS.CopyList]
cwbaudix.vxd,,,8
cwbaudio.drv,,,8
cwbfm.drv,,,8

[Windir.CopyList]
;;cwbinit.exe,,         ; Removed for MS install
;;cwbaudio.ini,,
cwbaudio.bin,,,8
;;cwbmix.exe,,          ; Removed for MS install

[WSTREAM.CopyDriver]
wstream.dll,,,8
vwstream.vxd,,,8
;;msgloop.exe,,         ; Removed for MS install

[WSS.DelList]
vsndsys.386,,,1
sndsys.drv,,,1
vaudiod.386,,,1
cpqaudio.drv,,,1
vsbd.386,,,1
vadlibd.386,,,1
nullwave.drv,,,1
mssndsys.drv,,,1
mssndsys.vxd,,,1

;Old Crystal filenames
cs32ba11.drv,,,1
cs32ba11.ini,,,1
csfm.drv,,,1
cwaudio.vxd,,,1
cs4232ld.vxd,,,1
cwaudio.bin,,,1
csmidi.vxd,,,1
csmidi.drv,,,1
cspcple.dll,,,1


[WSS.AddReg]
HKR,,Driver,,"cwbaudix.vxd vwstream.vxd"
HKR,Drivers\wave\cwbaudio.drv,Driver,,cwbaudio.drv
HKR,Drivers\mixer\cwbaudio.drv,Driver,,cwbaudio.drv
HKR,Drivers\aux\cwbaudio.drv,Driver,,cwbaudio.drv
HKR,Drivers\midi\cwbaudio.drv,Description,,%WSTREAM.DeviceDesc%
HKR,Drivers\midi\cwbaudio.drv,Driver,,cwbaudio.drv
HKR,Drivers\midi\cwbfm.drv,,,
HKR,Drivers\midi\cwbfm.drv,Driver,,cwbfm.drv
; Uncomment the next Line if Wavetable Synthesizer hardware is present in the system
; Edits also in section [MPU401.AddReg] below
; HKR,Drivers\midi\cwbfm.drv,External,1,01,00,00,00
HKR,Drivers,SubClasses,,"wave,midi,aux,mixer"
HKR,,EnumPropPages,,"cwbaudio.drv,DrvEnumPropPages"
HKLM,%KEY_FIL%\fl.UpdateInis,device.vsndsys,,"system.ini,386Enh,""device=vsndsys.386"",,"

[CSC0000.DelReg]
HKR,Drivers\wave\cs32ba11.drv
HKR,Drivers\mixer\cs32ba11.drv
HKR,Drivers\aux\cs32ba11.drv
HKR,Drivers\midi\csfm.drv

HKLM,System\CurrentControlSet\control\MediaResources\wave\cs32ba11.drv<0000>
HKLM,System\CurrentControlSet\control\MediaResources\mixer\cs32ba11.drv<0000>
HKLM,System\CurrentControlSet\control\MediaResources\aux\cs32ba11.drv<0000>
HKLM,System\CurrentControlSet\control\MediaResources\midi\csfm.drv<0000>

HKLM,System\CurrentControlSet\control\MediaResources\wave\cs32ba11.drv<0001>
HKLM,System\CurrentControlSet\control\MediaResources\mixer\cs32ba11.drv<0001>
HKLM,System\CurrentControlSet\control\MediaResources\aux\cs32ba11.drv<0001>
HKLM,System\CurrentControlSet\control\MediaResources\midi\csfm.drv<0001>

HKLM,System\CurrentControlSet\control\MediaResources\wave\cs32ba11.drv<0002>
HKLM,System\CurrentControlSet\control\MediaResources\mixer\cs32ba11.drv<0002>
HKLM,System\CurrentControlSet\control\MediaResources\aux\cs32ba11.drv<0002>
HKLM,System\CurrentControlSet\control\MediaResources\midi\csfm.drv<0002>

HKLM,System\CurrentControlSet\control\MediaResources\wave\cs32ba11.drv<0003>
HKLM,System\CurrentControlSet\control\MediaResources\mixer\cs32ba11.drv<0003>
HKLM,System\CurrentControlSet\control\MediaResources\aux\cs32ba11.drv<0003>
HKLM,System\CurrentControlSet\control\MediaResources\midi\csfm.drv<0003>

HKLM,System\CurrentControlSet\control\MediaResources\wave\cs32ba11.drv<0004>
HKLM,System\CurrentControlSet\control\MediaResources\mixer\cs32ba11.drv<0004>
HKLM,System\CurrentControlSet\control\MediaResources\aux\cs32ba11.drv<0004>
HKLM,System\CurrentControlSet\control\MediaResources\midi\csfm.drv<0004>

HKLM,System\CurrentControlSet\control\MediaResources\wave\cs32ba11.drv<0005>
HKLM,System\CurrentControlSet\control\MediaResources\mixer\cs32ba11.drv<0005>
HKLM,System\CurrentControlSet\control\MediaResources\aux\cs32ba11.drv<0005>
HKLM,System\CurrentControlSet\control\MediaResources\midi\csfm.drv<0005>

HKLM,System\CurrentControlSet\control\MediaResources\wave\cs32ba11.drv<0006>
HKLM,System\CurrentControlSet\control\MediaResources\mixer\cs32ba11.drv<0006>
HKLM,System\CurrentControlSet\control\MediaResources\aux\cs32ba11.drv<0006>
HKLM,System\CurrentControlSet\control\MediaResources\midi\csfm.drv<0006>

[CSC0000.AddReg]
HKR,Drivers\wave\cwbaudio.drv,Description,,%*CSC0000.DeviceDesc%
HKR,Drivers\mixer\cwbaudio.drv,Description,,%*CSC0000.DeviceDesc%
HKR,Drivers\aux\cwbaudio.drv,Description,,%*CSC0000.DeviceDesc%
HKR,Drivers\midi\cwbfm.drv,Description,,%V_INTERNAL%
HKR,Drivers,SubClasses,,"wave,midi,aux,mixer"


HKR,Config\DRIVER,Interp8,,Linear
HKR,Config\DRIVER,Interp16,,Linear
HKR,Config\DRIVER,SaveSettingsOnExit,,ON
HKR,Config\DRIVER,DMATimingMode,,1
HKR,Config\DRIVER,4232ADPCMEnable,,1
;HKR,Config\DRIVER,UseAllFs,,0

HKR,Config\MIXER,WaveVolumeOffset,,48
HKR,Config\MIXER,lLineVolume,,45874
HKR,Config\MIXER,rLineVolume,,45874
HKR,Config\MIXER,LineGang,,ON
HKR,Config\MIXER,lMicVolume,,45874
HKR,Config\MIXER,rMicVolume,,45874
HKR,Config\MIXER,MicGang,,ON
HKR,Config\MIXER,lAuxInVolume,,45874
HKR,Config\MIXER,rAuxInVolume,,45874
HKR,Config\MIXER,AuxInGang,,ON
HKR,Config\MIXER,lLoopBackInputVolume,,45874
HKR,Config\MIXER,rLoopBackInputVolume,,45874
HKR,Config\MIXER,LoopBackInputGang,,ON
HKR,Config\MIXER,MonitorVolume,,42280
HKR,Config\MIXER,MonitorMute,,ON
HKR,Config\MIXER,MonitorMode,,Recording
HKR,Config\MIXER,lMasterVolume,,42280
HKR,Config\MIXER,rMasterVolume,,42280
HKR,Config\MIXER,MasterMute,,OFF
HKR,Config\MIXER,MasterGang,,ON
HKR,Config\MIXER,lAuxVolume,,42280
HKR,Config\MIXER,rAuxVolume,,42280
HKR,Config\MIXER,AuxMute,,OFF
HKR,Config\MIXER,AuxGang,,ON
HKR,Config\MIXER,lAux2Volume,,42280
HKR,Config\MIXER,rAux2Volume,,42280
HKR,Config\MIXER,Aux2Mute,,OFF
HKR,Config\MIXER,Aux2Gang,,ON
HKR,Config\MIXER,lLineMixVolume,,42280
HKR,Config\MIXER,rLineMixVolume,,42280
HKR,Config\MIXER,LineMixMute,,OFF
HKR,Config\MIXER,LineMixGang,,ON
HKR,Config\MIXER,MonoVolume,,42280
HKR,Config\MIXER,MonoMute,,ON
HKR,Config\MIXER,MonoOutMute,,ON
HKR,Config\MIXER,MicBoost,,OFF
HKR,Config\MIXER,HWMUTE,,"0,1,E"
HKR,Config\MIXER,lVirtMaster,,48059
HKR,Config\MIXER,rVirtMaster,,48059
HKR,Config\MIXER,lLowPriMicVolume,,45874
HKR,Config\MIXER,rLowPriMicVolume,,45874
HKR,Config\MIXER,LowPriMicMute,,ON
HKR,Config\MIXER,LowPriMicBoost,,ON
HKR,Config\MIXER,lLowPriLineVolume,,45874
HKR,Config\MIXER,rLowPriLineVolume,,45874
HKR,Config\MIXER,lLowPriLoopBackInputVolume,,45874
HKR,Config\MIXER,rLowPriLoopBackInputVolume,,45874
HKR,Config\MIXER,lLowPriAuxInVolume,,45874
HKR,Config\MIXER,rLowPriAuxInVolume,,45874
HKR,Config\MIXER,VirtMasterMute,,OFF
HKR,Config\MIXER,VirtMasterGang,,ON
HKR,Config\MIXER,MicAGC,,OFF
HKR,Config\MIXER,DisableKaraokeMode,,OFF
HKR,Config\MIXER,KaraokeMode,,OFF
HKR,Config\MIXER,UseHWMasterVolume,,OFF
HKR,Config\MIXER,SmartKaraokeMode,,ON

;------------------- new control values for symmetrical mixer ----------jmh
; value encoding changed, used to be:
;HKR,Config\MIXER,InputSelection,,MIC
;HKR,Config\MIXER,LowPriInputSelection,,MIC
; now should be:
HKR,Config\MIXER,InputSelection,,8
HKR,Config\MIXER,LowPriInputSelection,,8
;------ moved and renamed  -------------------------
;HKR,Config\MIXER,XCTL0,,0
;HKR,Config\MIXER,XCTL1,,0
;------ new ----------------------------------------
HKR,Config\MIXER,lDacSERVolume,,45874
HKR,Config\MIXER,rDacSERVolume,,45874
HKR,Config\MIXER,DacSERMute,,ON
HKR,Config\MIXER,lLine-inVolume,,45874
HKR,Config\MIXER,rLine-inVolume,,45874
HKR,Config\MIXER,Line-inInputMute,,ON
HKR,Config\MIXER,Line-inOutputMute,,ON
HKR,Config\MIXER,3DSpace,,32768
HKR,Config\MIXER,3DCenter,,32768
HKR,Config\MIXER,3DMute,,OFF
HKR,Config\MIXER,Aux2InputMute,,OFF
HKR,Config\MIXER,Aux1InputMute,,OFF
HKR,Config\MIXER,LineInputMute,,OFF
HKR,Config\MIXER,MicInputMute,,ON
HKR,Config\MIXER,MicOutputMute,,ON
HKR,Config\MIXER,lWaveOutVolume,,42280
HKR,Config\MIXER,rWaveOutVolume,,42280
HKR,Config\MIXER,WaveOutMute,,OFF
HKR,Config\MIXER,lSysVol,,42280
HKR,Config\MIXER,rSysVol,,42280
HKR,Config\MIXER,lWaveinMasterVolume,,36000
HKR,Config\MIXER,rWaveinMasterVolume,,36000

;----------new: added for volume table-driven method--------msu
HKR,Config\MIXER,AnalogGainTable,,%AnalogGainTable%
HKR,Config\MIXER,DigitalGainTable,,%DigitalGainTable1%%DigitalGainTable2%
HKR,Config\MIXER,SynthGainTable,,%SynthGainTable%
HKR,Config\MIXER,MicGainTable,,%MicGainTable%
HKR,Config\MIXER,MonoGainTable,,%MonoGainTable%
HKR,Config\MIXER,DACGainTable,,%DACGainTable1%%DACGainTable2%
HKR,Config\MIXER,MasterInGainTable,,%MasterInGainTable%
HKR,Config\MIXER,MasterOutGainTable,,%MasterOutGainTable%
HKR,Config\MIXER,BramsMasterOutGainTable,,%BramsMasterOutGainTable%

;-----------added this varible to enable/disable DSP serial port--msu
HKR,Config\MIXER,EnableDSPSerialPort,,OFF
;------------------- end of new control values -------------------------jmh

HKR,Config\RECORD,HighPassFilter,,Off
HKR,Config\RECORD,Dither,,ON
HKR,Config\CONTROLS,ShortNameLine,,%SMixCtrlSynth%
HKR,Config\CONTROLS,LongNameLine,,%LMixCtrlSynth%
HKR,Config\CONTROLS,ShortNameAux2,,%SMixCtrlCD%
HKR,Config\CONTROLS,LongNameAux2,,%LMixCtrlCD%
HKR,Config\CONTROLS,ShortNameMono,,%SMixCtrlSpkr%
HKR,Config\CONTROLS,LongNameMono,,%LMixCtrlSpkr%
HKR,Config\CONTROLS,ShortNameMic,,%SMixCtrlMic%
HKR,Config\CONTROLS,LongNameMic,,%LMixCtrlMic%
HKR,Config\CONTROLS,ShortNameLoopback,,%SMixCtrlLoop%
HKR,Config\CONTROLS,LongNameLoopback,,%LMixCtrlLoop%
HKR,Config\CONTROLS,SourceForLine,,Synthesizer
HKR,Config\CONTROLS,SourceForAux1,,Auxiliary
HKR,Config\CONTROLS,SourceForAux2,,CompactDisc
HKR,Config\CONTROLS,SourceForMono,,PCSpeaker
HKR,Config\CONTROLS,SourceForMic,,Microphone
HKR,Config\CONTROLS,LongNameLineOut,,%LMixCtrlMaster%
HKR,Config\CONTROLS,ShortNameLineOut,,%SMixCtrlMaster%
HKR,Config\CONTROLS,LongNameMuxOut,,%LMixCtrlMux%
HKR,Config\CONTROLS,ShortNameMuxOut,,%SMixCtrlMux%
HKR,Config\CONTROLS,LongNameLowPriMuxOut,,%LMixCtrlLowPri%
HKR,Config\CONTROLS,ShortNameLowPriMuxOut,,%SMixCtrlLowPri%
HKR,Config\CONTROLS,ShortNameWave,,%SMixCtrlWave%
HKR,Config\CONTROLS,LongNameWave,,%LMixCtrlWave%
HKR,Config\CONTROLS,ShortNameMonitor,,%SMixCtrlMonitor%
HKR,Config\CONTROLS,LongNameMonitor,,%LMixCtrlMonitor%
;HKR,Config\CONTROLS,LongNameXCTL0,,%LMixCtrlX0%
;HKR,Config\CONTROLS,ShortNameXCTL0,,%SMixCtrlX0%
;HKR,Config\CONTROLS,LongNameXCTL1,,%LMixCtrlX1%
;HKR,Config\CONTROLS,ShortNameXCTL1,,%SMixCtrlX1%
HKR,Config\CONTROLS,LongNameKaraoke,,%LMixCtrlKaraoke%
HKR,Config\CONTROLS,ShortNameKaraoke,,%SMixCtrlKaraoke%
HKR,Config\CONTROLS,LongNameSysVol,,%LCtrlSysVol%
HKR,Config\CONTROLS,ShortNameSysVol,,%SCtrlSysVol%
HKR,Config\CONTROLS,LongNameMicBoost,,%LMixCtrlMicBoost%
HKR,Config\CONTROLS,ShortNameMicBoost,,%SMixCtrlMicBoost%

;
; These controls are used to disable XCTLs when a device
; has internal 3D circuitry.  This is to support customers
; that use XCTLs to control external SRC circuitry.
;
HKR,Config\CONTROLS,DisableIf3DXCTL0,,OFF
HKR,Config\CONTROLS,DisableIf3DXCTL1,,OFF
;---------------- changes for symmetrical mixer -----------------------------jmh
; used to be:
;HKR,Config\CONTROLS,ShortNameAux1,,%SMixCtrlLine%
;HKR,Config\CONTROLS,LongNameAux1,,%LMixCtrlLine%
; now is
HKR,Config\CONTROLS,ShortNameAux1,,%SMixCtrlAux1%
HKR,Config\CONTROLS,LongNameAux1,,%LMixCtrlAux1%

; specification of mode2 source lines that should be usable has changed to
; a bit map, with '1' representing available and '0' representing not available.
; The bit positions represent the lines indicated by the old-style setting.
; For Playback, bit[0] (leftmost bit) == "Wave"
;               bit[1]                == "Monitor"
;               bit[2]                == "Mono"
;               bit[3]                == "Line"
;               bit[4]                == "Aux1"
;               bit[5]                == "Aux2"
; For Record,   bit[0] (leftmost bit) == "Line"
;               bit[1]                == "Aux1"
;               bit[2]                == "MixOut" (Loop)
;               bit[3]                == "Mic"
; used to be:
;HKR,Config\CONTROLS,MixerSources,,"Wave,Monitor,Mono,Line,Aux1,Aux2"
;HKR,Config\CONTROLS,InputSources,,"Line,Aux1,Loop,Mic"
; now is
HKR,Config\CONTROLS,MixerSources,,"111111"
HKR,Config\CONTROLS,InputSources,,"1111"

;---------------- new controls, lines added for symmetrical mixer -----------jmh
; for Mode3xxxSources, values are a bit map determining which source lines are
; supposed to be supported. For Mode3MixerSources, the possibilities are:
;   playback:  3D,DIG-SER,DIG-wave,DIG-synth,aux2,aux1,line-in,mic,mono
;   record:     x,DIG-SER,DIG-wave,DIG-synth,aux2,aux1,line-in,mic,x
; where x is just a placeholder to make the strings the same length and easier
; to modify correctly. Note that if line-in is set to 0, it will be ganged
; with the DIG-synth source.
HKR,Config\CONTROLS,Mode3MixerSources,,"111111011"
HKR,Config\CONTROLS,Mode3InputSources,,"x1111101x"

HKR,Config\CONTROLS,ShortName3DSpace,,%SMixCtrl3DSpace%
HKR,Config\CONTROLS,LongName3DSpace,,%LMixCtrl3DSpace%
HKR,Config\CONTROLS,ShortName3DCenter,,%SMixCtrl3DCenter%
HKR,Config\CONTROLS,LongName3DCenter,,%LMixCtrl3DCenter%
HKR,Config\CONTROLS,ShortName3DMute,,%SMixCtrl3DMute%
HKR,Config\CONTROLS,LongName3DMute,,%LMixCtrl3DMute%
HKR,Config\CONTROLS,ShortNameDacSER,,%SMixCtrlDacSer%
HKR,Config\CONTROLS,LongNameDacSER,,%LMixCtrlDacSER%
HKR,Config\CONTROLS,ShortNameLine-in,,%SMixCtrlLine%
HKR,Config\CONTROLS,LongNameLine-in,,%LMixCtrlLine%
HKR,Config\CONTROLS,ShortNameMonoOutMute,,%SMixCtrlMonoOutMute%
HKR,Config\CONTROLS,LongNameMonoOutMute,,%LMixCtrlMonoOutMute%

;---------------- end of new controls ---------------------------------------jmh

HKR,Config\SNDSYS.DRV,SingleModeDMA,,0
HKR,Config\SNDSYS.DRV,MsftHardware,,0
HKR,Config\SNDSYS.DRV,MsftSupport,,1
HKR,Config\SNDSYS.DRV,AutoSelect,,0
HKR,Config\SNDSYS.DRV,MidiPlay,,1
HKR,Config\SNDSYS.DRV,OldMSDosGameCompatibility,,1
HKR,Config\SNDSYS.DRV,BlasterSupport,,CS4232
HKR,Config\SNDSYS.DRV,Duplex,,Full
HKR,Config\SNDSYS.DRV,OEMHardware,,
HKR,Config\SNDSYS.DRV,FMMixer,,Line
HKR,Config\SNDSYS.DRV,CDMixer,,Aux2
HKR,Config\SNDSYS.DRV,LineMixer,,Aux1
HKR,Config\SNDSYS.DRV,UseTypeFDMA,,ON
HKR,Config\SNDSYS.DRV,PollHWMasterVol,,OFF
HKR,Config\SNDSYS.DRV,SBInitMixerSettings,,OFF
HKR,Config\SNDSYS.DRV,SBVoiceVolumeLeft,,9
HKR,Config\SNDSYS.DRV,SBVoiceVolumeRight,,9
HKR,Config\SNDSYS.DRV,SBMasterVolumeLeft,,9
HKR,Config\SNDSYS.DRV,SBMasterVolumeRight,,9
HKR,Config\SNDSYS.DRV,SBFMVolumeLeft,,9
HKR,Config\SNDSYS.DRV,SBFMVolumeRight,,9
HKR,Config\SNDSYS.DRV,SBCDVolumeLeft,,1
HKR,Config\SNDSYS.DRV,SBCDVolumeRight,,1
HKR,Config\SNDSYS.DRV,SBLineInVolumeLeft,,1
HKR,Config\SNDSYS.DRV,SBLineInVolumeRight,,1
HKR,Config\SNDSYS.DRV,SBMicMixing,,0
HKR,Config\SNDSYS.DRV,SBInputSelect,,0
HKR,Config\SNDSYS.DRV,SBVSTC,,0
HKR,Config\SNDSYS.DRV,RestoreWSSOnDosExit,,OFF
HKR,Config\SNDSYS.DRV,MuteWhenDOSBoxLoosesFocus,,ON
HKR,Config\SNDSYS.DRV,WriteConfigurationFile,,ON
HKR,Config\SNDSYS.DRV,IgnoreStandby,,ON
HKR,Config\SNDSYS.DRV,PowerDownBach,,ON
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\MS-DOSOptions\Crystal,,,%MSDOSConfig%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\MS-DOSOptions\Crystal,Config.Sys,,"device=%%WINDIR%%\cwbinit.exe /A"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\MS-DOSOptions\Crystal,Flags,1,07,00,00,00
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\MS-DOSOptions\Crystal,Order,1,00,00,00,19
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\MS-DOSOptions\Crystal,TipText,,%MSDOSTipText%

[MIXER.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,SystemTray,,"SysTray.Exe"
HKLM,%KEY_IOC%\Vol,,,

[WAVE.AddReg]
HKR,,DevLoader,,mmdevldr.vxd
HKR,,Driver,,cwbaudix.vxd
HKR,Drivers,MIGRATED,,0
HKR,Drivers\midi,,,
HKR,Drivers\wave,,,
HKR,Drivers\mixer,,,
HKR,Drivers\aux,,,
HKLM,%KEY_IOC%\acm,,,
HKLM,%KEY_IOC%\Rec,,,
HKLM,%KEY_IOC%\MPlay,,,

[CWBINIT.UpdateCfgSys]
;;DevDelete=cwbinit.exe                        ; Removed for MS install
;;DevAddDev=cwbinit.exe,device, 1, "/A" ; Removed for MS install

[*CSC0000.KnownDrivers]
sndsys.drv
cpqaudio.drv
cs31ba11.drv
nmcmssnd.drv
mssndsys.drv

[Power.CopyList]
cwbpcple.dll,,,8

[Power.AddReg]
HKCR,"CLSID\{21838CA5-6877-11cf-9228-00A02407A140}",,,%PowerCPLName%
HKCR,"CLSID\{21838CA5-6877-11cf-9228-00A02407A140}\InProcServer32",,,cwbpcple.dll
HKCR,"CLSID\{21838CA5-6877-11cf-9228-00A02407A140}\InProcServer32","ThreadingModel",,"Apartment"
;------------------------------------------------------------------------------
; Uncomment the following line if you wish the Crystal Power Panel to appear
; in the Control Panel Power Applet.
;------------------------------------------------------------------------------
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\Power\shellex\PropertySheetHandlers\Crystal Semiconductor Power Control Panel Extension",,,{21838CA5-6877-11cf-9228-00A02407A140}

;--------------------------------------------------------------------------

; CSC0011 is a combination of CSC0000 and CSC0001 on a Mobile Triton I
; implementation using the Audio Port.

[CSC0011_Device]
DelFiles=WSS.DelList
CopyFiles=WSS.CopyList,CSC0001.CopyList,Windir.CopyList,Power.CopyList,WSTREAM.CopyDriver
AddReg=WAVE.AddReg, MIXER.AddReg, CSC0000.AddReg, WSS.AddReg, CSC0011.AddReg, Power.AddReg
UpdateInis=WSS.UpdateInis,CSC0001.UpdateInis
UpdateCfgSys=CWBINIT.UpdateCfgSys

;
; This Driver string will overwrite the standard one added in WAVE.AddReg..
;
[CSC0011.AddReg]
HKR,,Driver,,"cwbaudix.vxd vjoyd.vxd"
HKR,Drivers\joystick,,,
HKR,Drivers\joystick\msjstick.drv,Description,,%*CSC0001.DeviceDesc%
HKR,Drivers\joystick\msjstick.drv,Driver,,msjstick.drv
HKR,Drivers,Subclasses,,"wave,midi,aux,mixer,joystick"
HKLM,%KEY_OEM%\cwbjoy,OEMCallout,0,cwbjoy.vxd
HKLM,%KEY_OEM%\cwbjoy,OEMData,1,1,0,0,0,8,0,0,0
HKLM,%KEY_OEM%\cwbjoy,OEMName,0,%cwbjoy.DeviceDesc%
HKLM,%KEY_OEM%\cwbjoy,OEMTESTWINCAP,0,%cwbjoy.DeviceTestDesc%
HKLM,%KEY_OEM%\cwbjoy,OEMCALWINCAP,0,%cwbjoy.DeviceCalDesc%
HKLM,%KEY_OEM%\Standard Gameport,OEMName,,%STD_GAMEPORT%
HKLM,%KEY_OEM%\Standard Gameport,OEMCallout,,"msanalog.vxd"
HKLM,%KEY_OEM%\Standard Gameport,OEMData,1,00,00,00,0c,00,00,00,00



;--------------------------------------------------------------------------

[CSC0001_Device]
CopyFiles=CSC0001.CopyList
AddReg=CSC0001.AddReg
UpdateInis=CSC0001.UpdateInis

[CSC0001.CopyList]
cwbjoy.vxd,,,8
msjstick.drv,,,8
vjoyd.vxd,,,8
msanalog.vxd,,,8

[CSC0001.AddReg]
HKR,,DevLoader,,mmdevldr.vxd
HKR,Drivers,MIGRATED,,0
HKR,Drivers\joystick,,,
HKR,,Driver,,vjoyd.vxd
HKR,Drivers\joystick\msjstick.drv,Description,,%*CSC0001.DeviceDesc%
HKR,Drivers\joystick\msjstick.drv,Driver,,msjstick.drv
HKR,Drivers,SubClasses,,"joystick"
HKLM,%KEY_OEM%\cwbjoy,OEMCallout,0,cwbjoy.vxd
HKLM,%KEY_OEM%\cwbjoy,OEMData,1,1,0,0,0,8,0,0,0
HKLM,%KEY_OEM%\cwbjoy,OEMName,0,%cwbjoy.DeviceDesc%
HKLM,%KEY_OEM%\cwbjoy,OEMTESTWINCAP,0,%cwbjoy.DeviceTestDesc%
HKLM,%KEY_OEM%\cwbjoy,OEMCALWINCAP,0,%cwbjoy.DeviceCalDesc%
HKLM,%KEY_OEM%\Standard Gameport,OEMName,,%STD_GAMEPORT%
HKLM,%KEY_OEM%\Standard Gameport,OEMCallout,,"msanalog.vxd"
HKLM,%KEY_OEM%\Standard Gameport,OEMData,1,00,00,00,0c,00,00,00,00

[CSC0001.UpdateInis]
system.ini,drivers,"joystick="

;--------------------------------------------------------------------------

[CSC0010_Device]
DelFiles=ControlPort.DelList
CopyFiles=ControlPort.CopyList
AddReg=ControlPort.AddReg

[ControlPort.AddReg]
HKR,,DevLoader,,mmdevldr.vxd
HKR,,Driver,,cwbaudix.vxd

[ControlPort.DelList]
;CLD cs4232ld.vxd,,,1

[ControlPort.CopyList]
; Note the control port doesn't really need a file copied, but having
; something in the copy list helps some logic in the DirectX 5
; driver setup behave properly.
cwbaudix.vxd,,,8

;--------------------------------------------------------------------------

[CSC0003_Device]
DelFiles=MPU401.DelList
CopyFiles=MPU401.CopyList
AddReg=MIDI.AddReg, MPU401.AddReg, CSC0003.AddReg
DelReg=CSC0003.DelReg
UpdateInis=MPU401.UpdateInis

[MPU401.CopyList]
cwbmidi.vxd,,,8
cwbmidi.drv,,,8
;CLD cs4232ld.vxd,,

[MIDI.AddReg]
HKR,,Devloader,,mmdevldr.vxd
HKR,Drivers,MIGRATED,,0
HKR,Drivers\midi,,,

[MPU401.AddReg]
HKR,,Driver,,"cwbmidi.vxd vwstream.vxd"
HKR,Drivers\midi\cwbmidi.drv,Driver,,cwbmidi.drv
;Comment out the next line if a Wavetable Synthesizer is present in the system
HKR,Drivers\midi\cwbmidi.drv,External,1,01,00,00,00
HKR,Drivers,SubClasses,,"midi"

[CSC0003.DelReg]
HKR,Drivers\midi\msmpu401.drv

[CSC0003.AddReg]
HKR,Drivers\midi\cwbmidi.drv,Description,,%*CSC0003.DeviceDesc%

[MPU401.UpdateInis]
system.ini,drivers,"midi*=mpu401.drv",,1

[MPU401.DelList]
msmpu401.vxd,,,1
msmpu401.drv,,,1
mpu401.drv,,,1

;--------------------------------------------------------------------------
[CSC000F_Device]

;--------------------------------------------------------------------------
[CSC0004_Device]
AddReg = ESDI_AddReg

[ESDI_AddReg]
HKR,,DriverDesc,,"ESDI Port Driver"
HKR,,DevLoader,,*IOS
HKR,,PortDriver,,ESDI_506.pdr

;--------------------------------------------------------------------------

[DestinationDirs]
WSS.CopyList = 11
WSS.DelList = 11
Windir.CopyList = 10
WSTREAM.CopyDriver = 11
DefaultDestDir = 11     ; LDID_SYS

[SourceDisksNames]
222="DirectX Drivers Disk","",1

[SourceDisksFiles]
cwbaudix.vxd=222,..\eng
cwbaudio.drv=222
cwbfm.drv=222,..\eng
cwbaudio.bin=222,..\eng
cwbpcple.dll=222,..\eng
cwbjoy.vxd=222,..\eng
msjstick.drv=222,..\eng
vjoyd.vxd=222,..\eng
msanalog.vxd=222,..\eng
cwbmidi.vxd=222
cwbmidi.drv=222,..\eng
wstream.dll=222,..\eng
vwstream.vxd=222,..\eng

[Strings]
;Non-localized strings
KEY_WARNVER = "SYSTEM\CurrentControlSet\Control\SessionManager\WarnVerDLLs"
KEY_CHKVER = "SYSTEM\CurrentControlSet\Control\SessionManager\CheckVerDLLs"
KEY_FIL = "SYSTEM\CurrentControlSet\Control\MediaResources\FilterList"
KEY_IOC = "SYSTEM\CurrentControlSet\Control\MediaResources\InstallOptionalComponents"
cwbjoy.DeviceDesc = "Crystal digitálisan támogatott botkormány"
cwbjoy.DeviceTestDesc = "Crystal botkormány port teszt"
cwbjoy.DeviceCalDesc = "Crystal botkormány port kalibrálás"
STD_GAMEPORT = "Általános Gameport"
KEY_OEM = "System\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM"

;Localized strings
MediaClassName = "Hang, videó és játékvezérlők"
CSMfgName = "Crystal Semiconductor Corporation"
*CSC0000.DeviceDesc = "Crystal PnP hangrendszer CODEC"
*CSCFFFF.DeviceDesc = "Crystal PnP hangrendszer CODEC (újraindítás szükséges)"
*CSC0001.DeviceDesc = "Crystal PnP hangrendszer botkormány"
*CSC0010.DeviceDesc = "Crystal PnP hangrendszer vezérlő regiszterek"
*CSC0003.DeviceDesc = "Crystal PnP hangrendszer MPU-401 kompatíbilis"
*CSC0004.DeviceDesc = "Crystal PnP IDE vezérlő"
*CSC0011.DeviceDesc = "Crystal PnP hangrendszer CODEC/botkormány"
MSDOSTipText = "Hangkártya DOS alatt történő használatának beállítása"
MSDOSConfig = "Crystal hangkártya beállítás"
PowerCPLName = "Crystal Semiconductor energiagazdálkodás Vezérlőpult bővítés"
SourceDiskName = "Crystal illesztőprogram-lemez"
WSTREAM.DeviceDesc = "WaveStream zenei szintetizátor"
*CSC000F.DeviceDesc = "Tiltott eszköz"
V_CLSWAVEFORM = "Audio"
V_CLSMIDI = "MIDI"
V_CLSMIXER = "Keverő"
V_CLSAUX = "Külső"
V_INTERNAL = "FM szintetizálás"
V_EXTERNAL = "Külső MIDI port"
SMixCtrlSynth = "Szintetizátor"
LMixCtrlSynth = "Szintetizátor"
SMixCtrlLine = "Vonal"
LMixCtrlLine = "Vonal"
SMixCtrlCD = "CD"
LMixCtrlCD = "CD"
SMixCtrlSpkr = "Mono"
LMixCtrlSpkr = "Mono be"
SMixCtrlMic = "Mic"
LMixCtrlMic = "Mic"
SMixCtrlLoop = "MixOut"
LMixCtrlLoop = "MixOut"
SMixCtrlMaster = "Központi szabályzó"
LMixCtrlMaster = "Központi kimenet"
SMixCtrlMux = "Felvétel"
LMixCtrlMux = "Központi felvétel"
SMixCtrlLowPri = "LowPriIn"
LMixCtrlLowPri = "Alacsony prioritású bemenet"
SMixCtrlKaraoke = "Karaoke"
LMixCtrlKaraoke = "Karaoke mód"
SMixCtrlX0 = "XCTL 0"
LMixCtrlX0 = "XControl 0"
SMixCtrlX1 = "XCTL 1"
LMixCtrlX1 = "XControl 1"
SCtrlSysVol = "SystemVol"
LCtrlSysVol = "Rendszer hangerő"
SMixCtrlWave = "Hanghullám"
LMixCtrlWave = "Hanghullám"
SMixCtrlMonitor = "Monitor"
LMixCtrlMonitor = "Monitor"
SMixCtrlMicBoost = "Mikrofon erősítés"
LMixCtrlMicBoost = "Mikrofon erősítés"

;-------------- new controls added for symmetrical mixer ----------jmh
SMixCtrl3DCenter = "Középre"
LMixCtrl3DCenter = "3D középre"
SMixCtrl3DSpace = "Térhatás"
LMixCtrl3DSpace = "3D térhatás"
SMixCtrl3DMute = "Elnémítás"
LMixCtrl3DMute = "3D elnémítás"
SMixCtrl3D = "3D hatások"
LMixCtrl3D = "3D hatások"
; the aux1 input is usually tied to the line jack
SMixCtrlAux1 = "Vonal"
LMixCtrlAux1 = "Vonalbemenet"
SMixCtrlMonoOutMute = "MonoOut elnémítás"
LMixCtrlMonoOutMute = "PC hangszóró elnémítás"
SMixCtrlDacSER = "Soros"
LMixCtrlDacSER = "Soros bemenet"
; optional names for a line-in that is not controlling synth
SMixCtrlLine-in = "Vonal"
LMixCtrlLine-in = "Vonalbemenet"

;-------------- tables added for volume slide rcontrol ----------msu
;-----the values in the following table are editable to meet OEM needs
;-----however, there are limits for all these tables, for analog table,
;-----synth table and mic table, entries are ranged from 0 to 31, maximum
;-----entries for those tables are 32 entries, for digital table and DAC
;-----table, entries are ranged from 0 to 63, maximum entries number is 64,
;----for mono table, entries are ranged from 0 to 13, maximum entries is 16,
;----for masterin table, entries are ranged from 0 to 7, maximum entries is 16,
;----for masterout table, entries are ranged from 0 to 25, maximum entries is 16.
AnalogGainTable = "31,20,17,15,14,13,12,11,10,10,9,9,8,7,7,6,6,6,6,5,5,5,4,4,4,3,3,3,2,2,1,1"
DigitalGainTable1 = "63,40,26,20,17,16,14,13,12,11,10,10,9,9,8,8,8,7,7,7,6,6,6,6,5,5,5,5,5,4,4,4,"
DigitalGainTable2 = "4,4,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0"
SynthGainTable = "31,20,17,15,14,13,12,11,10,10,9,9,8,7,7,6,6,6,6,5,5,5,4,4,4,3,3,3,2,2,1,1"
MicGainTable = "31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0"
DacGainTable1 = "63,62,61,60,59,58,57,56,55,54,53,52,51,50,49,48,47,46,45,44,43,42,41,40,39,38,37,36,35,34,33,32,"
DacGainTable2 = "31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0"
MonoGainTable = "13,11,8,6,5,5,4,4,3,3,2,2,1,1,0,0"
MasterInGainTable = "0,3,4,5,6,6,6,7"
MasterOutGainTable = "0,7,10,11,12,13,14,14,15,15,16,17,17,18,19,20"
BramsMasterOutGainTable = "0,7,10,11,12,13,14,14,15,15,16,17,17,18,19,20"
