Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/audio.cc')
-rw-r--r--src/audio/audio.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/audio.cc b/src/audio/audio.cc
index 2c8a7c1..b7a79d7 100644
--- a/src/audio/audio.cc
+++ b/src/audio/audio.cc
@@ -196,7 +196,7 @@ void update_listener(math::Vector3f const &location, math::Axis const &axis, mat
}
alListenerfv(AL_ORIENTATION, orientation);
alListenerf(AL_GAIN, gain);
- //alListenerfv(AL_VELOCITY, velocity.ptr());
+ alListenerfv(AL_VELOCITY, velocity.ptr());
}
@@ -207,7 +207,7 @@ void update_source(size_t source_index, math::Vector3f const & location, math::V
ALuint source = Sources::source(source_index);
alSourcefv(source, AL_POSITION, location.ptr());
- //alSourcefv(source, AL_VELOCITY, velocity.ptr());
+ alSourcefv(source, AL_VELOCITY, velocity.ptr());
alSourcef(source, AL_PITCH, pitch);
alSourcef(source, AL_GAIN, gain);
}