diff options
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/audio.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/audio.cc b/src/audio/audio.cc index 3ad640d..94f4d23 100644 --- a/src/audio/audio.cc +++ b/src/audio/audio.cc @@ -115,7 +115,7 @@ void loop( size_t source_index, const char *name, float pitch, float gain) ALuint source = Sources::source(source_index); Buffers::bind(source, Buffers::load(std::string(name))); - alSourcef(source, AL_REFERENCE_DISTANCE, 2.0f); + //alSourcef(source, AL_REFERENCE_DISTANCE, 2.0f); // might be the cause of cracks in the sound alSourcei(source, AL_SOURCE_RELATIVE, AL_FALSE); alSourcef(source, AL_PITCH, pitch); alSourcef(source, AL_GAIN, gain); |