home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gamblexx 2002 May
/
gamblexx_05_2002.iso
/
demos
/
serioussamsedemo.exe
/
Disk1
/
Scripts
/
Addons
/
SFX-AutoAdjust.ini
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2001-02-10
|
302 b
|
18 lines
// auto-adjust sound-quality based on CPU speed and RAM ammount
if( sys_iCPUMHz<390 || sys_iRAMPhys<60)
{
snd_iFormat = 1;
}
else if( sys_iCPUMHz<590 || sys_iRAMPhys<120)
{
snd_iFormat = 2;
}
else
{
snd_iFormat = 3;
}
snd_iInterface = 2; // try EAX, then DSound, then Waveout