mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Toss old RAM functions
If we really care about system RAM, we should reimplement this in a less obsolete way--and hopefully update the RAM tiers ;)
This commit is contained in:
@ -2367,18 +2367,13 @@ void plClient::IDetectAudioVideoSettings()
|
||||
stream = plEncryptedStream::OpenEncryptedFileWrite(audioIniFile);
|
||||
|
||||
plAudioCaps caps = plAudioCapsDetector::Detect(false, true);
|
||||
val = 6;
|
||||
if( (hsPhysicalMemory() < 256) || plProfileManager::Instance().GetProcessorSpeed() < 1350000000)
|
||||
{
|
||||
val = 3;
|
||||
}
|
||||
|
||||
char deviceName[256];
|
||||
sprintf(deviceName, "\"%s\"", DEFAULT_AUDIO_DEVICE_NAME);
|
||||
|
||||
WriteBool(stream, "Audio.Initialize", caps.IsAvailable());
|
||||
WriteBool(stream, "Audio.UseEAX", false);
|
||||
WriteInt(stream, "Audio.SetPriorityCutoff", val);
|
||||
WriteInt(stream, "Audio.SetPriorityCutoff", 6);
|
||||
WriteInt(stream, "Audio.MuteAll", false);
|
||||
WriteInt(stream, "Audio.SetChannelVolume SoundFX", 1);
|
||||
WriteInt(stream, "Audio.SetChannelVolume BgndMusic", 1);
|
||||
|
Reference in New Issue
Block a user