mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Attempt to fix sound left-right channels
This commit is contained in:
@@ -461,7 +461,7 @@ public:
|
|||||||
alListener3f(AL_VELOCITY, vel.X, vel.Y, vel.Z);
|
alListener3f(AL_VELOCITY, vel.X, vel.Y, vel.Z);
|
||||||
ALfloat f[6];
|
ALfloat f[6];
|
||||||
f3_set(f, at);
|
f3_set(f, at);
|
||||||
f3_set(f+3, up);
|
f3_set(f+3, -up);
|
||||||
alListenerfv(AL_ORIENTATION, f);
|
alListenerfv(AL_ORIENTATION, f);
|
||||||
warn_if_error(alGetError(), "updateListener");
|
warn_if_error(alGetError(), "updateListener");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user