Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/audio
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-02-25 22:24:25 +0000
committerStijn Buys <ingar@osirion.org>2010-02-25 22:24:25 +0000
commit11a5ebe38a83383970425baf53d4595ae56efe70 (patch)
tree99c59f3cd07c829122c2673563a8e32388aefdd5 /src/audio
parent90fbc4c5caf5afd54920894319448b74967399ba (diff)
looped sound support for fx_sound model tags
Diffstat (limited to 'src/audio')
-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);
}