[Change] Increased AL_GAIN somewhat.
This commit is contained in:
parent
23097370db
commit
c8b99cb35f
@ -119,7 +119,7 @@ static void voice_rm(alVoice* prev, alVoice* voice);
|
|||||||
static void voice_parseFlags(alVoice* voice, const unsigned int flags);
|
static void voice_parseFlags(alVoice* voice, const unsigned int flags);
|
||||||
|
|
||||||
int sound_init(void) {
|
int sound_init(void) {
|
||||||
int mem, ret = 0;
|
int mem, ret;
|
||||||
ALenum err;
|
ALenum err;
|
||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
@ -132,6 +132,7 @@ int sound_init(void) {
|
|||||||
alutInitWithoutContext(NULL, NULL);
|
alutInitWithoutContext(NULL, NULL);
|
||||||
|
|
||||||
const ALchar* device = alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
|
const ALchar* device = alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
|
||||||
|
|
||||||
/* Open the default device. */
|
/* Open the default device. */
|
||||||
al_device = alcOpenDevice(NULL);
|
al_device = alcOpenDevice(NULL);
|
||||||
if(al_device == NULL) {
|
if(al_device == NULL) {
|
||||||
@ -159,7 +160,7 @@ int sound_init(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Set the master gain. */
|
/* Set the master gain. */
|
||||||
alListenerf(AL_GAIN, .1);
|
alListenerf(AL_GAIN, 1.);
|
||||||
|
|
||||||
/* Set the distance model. */
|
/* Set the distance model. */
|
||||||
alDistanceModel(AL_INVERSE_DISTANCE_CLAMPED);
|
alDistanceModel(AL_INVERSE_DISTANCE_CLAMPED);
|
||||||
|
Loading…
Reference in New Issue
Block a user