Skip to content
Snippets Groups Projects
Commit 5436f1c7 authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Attempt to fix sound left-right channels

parent 41073903
No related branches found
No related tags found
No related merge requests found
......@@ -461,7 +461,7 @@ class OpenALSoundManager: public ISoundManager
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");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment