C_SNDSYS_CFG Daedalus class
Class C_SNDSYS_CFG defines the global settings for the game's sounds.
Danger
An instance of this class is declared only once and should be named sndSysConfig.
Class definition
Class definition as it is defined in Scripts/System/_intern/SFX.d script file.
Members
float volume
The overall volume of the background music (soundtrack). This value ranges from 0.0 to 1.0, where 0.0 is completely muted and 1.0 is the maximum volume.
int bitResolution
Defines the sound quality in terms of bit depth. It can be either 8-bit or 16-bit, with 16-bit providing higher audio fidelity.
int sampleRate
Specifies the frequency at which the sound is sampled. This value ranges from 11050 Hz to 44100 Hz, with higher values offering better sound quality.
int useStereo
A flag indicating whether stereo sound is enabled. A value of 1 means stereo sound is used, while 0 means mono sound.
int numSFXChannels
Determines the number of sound effect channels available. This value ranges from 1 to 32, allowing for multiple sound effects to be played simultaneously.
string used3DProviderName
Name of the 3D sound provider. One of the constants defined in Scripts/System/_intern/SFX.d.