[Change] Increased AL_GAIN somewhat.

This commit is contained in:
Allanis 2013-07-08 22:11:21 +01:00
parent 23097370db
commit c8b99cb35f

View File

@ -119,7 +119,7 @@ static void voice_rm(alVoice* prev, alVoice* voice);
static void voice_parseFlags(alVoice* voice, const unsigned int flags);
int sound_init(void) {
int mem, ret = 0;
int mem, ret;
ALenum err;
ret = 0;
@ -132,6 +132,7 @@ int sound_init(void) {
alutInitWithoutContext(NULL, NULL);
const ALchar* device = alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
/* Open the default device. */
al_device = alcOpenDevice(NULL);
if(al_device == NULL) {
@ -159,7 +160,7 @@ int sound_init(void) {
}
/* Set the master gain. */
alListenerf(AL_GAIN, .1);
alListenerf(AL_GAIN, 1.);
/* Set the distance model. */
alDistanceModel(AL_INVERSE_DISTANCE_CLAMPED);