mirror of
https://github.com/Haui1112/minetest.git
synced 2024-10-23 06:21:52 +02:00
Attempt to fix sound left-right channels
This commit is contained in:
parent
4107390337
commit
5436f1c7d5
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue