;*****************************************************************************
;
; CWCAUDIO.INF - Device description file for Windows NT
;                installation of the CrystalWave Synth
;
; Copyright (c) 1996-1999 Crystal Semiconductor Corp.
;
;*****************************************************************************

[Version]
Signature="$WINDOWS NT$"
ClassGuid={4D36E96C-E325-11CE-BFC1-08002BE10318}
Class=MEDIA
provider=Crystal

[Manufacturer]
%CSMfgName%=Crystal

[Crystal]
%CSSYNTH.DeviceDesc%=CSSYNTH_Device,PCI\VEN_XXXX&DEV_XXXX, PCI\VEN_XXXX&DEV_XXXX

[CSSYNTH_Device.NT]
AddReg=Device.AddReg

[Device.AddReg]		; these reg_binary values are in hex
HKLM,%KEY_BASE%,Chorus,1,00,00,00,00
HKLM,%KEY_BASE%,ChorusDepth,1,58,00,00,00
HKLM,%KEY_BASE%,ChorusRate,1,3c,00,00,00
HKLM,%KEY_BASE%,GlobalGain,1,00,03,00,00
HKLM,%KEY_BASE%,VoiceCap,1,20,00,00,00
HKLM,%KEY_BASE%,OutFs,1,22,56,00,00
HKLM,%KEY_BASE%,MMX,1,00,00,00,00
HKLM,%KEY_BASE%,SampleSet,,"\SystemRoot\System32\CWCWTSMP.DAT"
HKLM,%KEY_BASE%,ProductName,,%ProductName%
;;;;;;; Set the Dialog Box caption
HKLM,Software\Crystal\CrystalWave\0.0,WindowCaption,,"CrystalWave Synthesizer"
;;;;;;; Set the Direct Sound Buffer Size in seconds(floating point format).
HKLM,Software\Crystal\CrystalWave\0.0,DS_BuffSz_fSec,,1.000
;;;;;;; Set as the preferred audio device
;; This does not work
;;HKR,,SetupPreferredAudioDevices,3,01,00,00,00
;;;;;;; Set the Default Global Gain
HKLM,Software\Crystal\CrystalWave\0.0,GlobalGain,1,f0,02,00,00


[Strings]
;Non-localized strings
KEY_MSDOS="SOFTWARE\Microsoft\Windows\CurrentVersion\MS-DOSOptions"
KEY_IOC="SYSTEM\CurrentControlSet\Control\MediaResources\InstallOptionalComponents"
KEY_RUN="SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
KEY_RUNONCE="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
KEY_BASE="SYSTEM\CurrentControlSet\Services\cssynthx"
KEY_MEDIA="SYSTEM\CurrentControlSet\Services\Class\MEDIA"
KEY_SOUNDMAPPER="Software\Microsoft\Multimedia\Sound Mapper"


;Localized strings
MediaClassName="Sound, video and game controllers"
CSMfgName="Crystal Semiconductor Corporation"
CS4297.DeviceDesc="CrystalWave Synth"
ProductName="CrystalWave Synth"
