1
1
forked from 0ad/0ad

Adds sensible default sound gains, when the config file(s) omit them

This was SVN commit r12458.
This commit is contained in:
historic_bruno 2012-08-17 23:00:41 +00:00
parent bbed3ca69a
commit 8e996cedab

View File

@ -82,10 +82,10 @@ static void LoadGlobals()
CFG_GET_USER_VAL("particles", Bool, g_Particles);
CFG_GET_USER_VAL("silhouettes", Bool, g_Silhouettes);
float gain = -1.0f;
float musicGain = -1.0f;
float ambientGain = -1.0f;
float actionGain = -1.0f;
float gain = 0.5f;
float musicGain = 0.5f;
float ambientGain = 0.5f;
float actionGain = 0.5f;
int bufferCount = 50;
unsigned long bufferSize = 65536;