projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4107390
)
Attempt to fix sound left-right channels
author
Perttu Ahola
<celeron55@gmail.com>
Thu, 5 Apr 2012 21:39:37 +0000
(
00:39
+0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Thu, 5 Apr 2012 21:39:37 +0000
(
00:39
+0300)
src/sound_openal.cpp
patch
|
blob
|
history
diff --git
a/src/sound_openal.cpp
b/src/sound_openal.cpp
index 8d76b69e16621105b6fdb0cbb8048fa1e8721589..66faf40c1a9f2e2cb488a6f6659fd29a26d99f9f 100644
(file)
--- a/
src/sound_openal.cpp
+++ b/
src/sound_openal.cpp
@@
-461,7
+461,7
@@
public:
alListener3f(AL_VELOCITY, vel.X, vel.Y, vel.Z);
ALfloat f[6];
f3_set(f, at);
- f3_set(f+3, up);
+ f3_set(f+3,
-
up);
alListenerfv(AL_ORIENTATION, f);
warn_if_error(alGetError(), "updateListener");
}