Original Post
I have this tiny problem with a testing program implementing Irrlicht and OpenAL. I know I could condense this a bit without the arrays, doesn't matter. The problem is that sound seems reversed, left and right are switched. I use this in a tiny program where I load a TestSceneNode and travel around with a CameraNodeFPS. There's nothing special... Initialisation is done with ALUT, everything seems to be alright. It *could* of course be that the device driver is wrong, or that my stereo system is just set up wrong, but I higly doubt it. I can post the full source to the program is that is any more helpful. It ain't that much bigger, but I don't think it's important. Most other variables are left at defaults. Any views on this? Thanks!
void updateListener(ICameraSceneNode* cam){
ALfloat pos[3];
ALfloat ori[6];
pos[0] = cam->getPosition().X;
pos[1] = cam->getPosition().Y;
pos[2] = cam->getPosition().Z;
ori[0] = cam->getTarget().X;
ori[1] = cam->getTarget().Y;
ori[2] = cam->getTarget().Z;
ori[3] = cam->getUpVector().X;
ori[4] = cam->getUpVector().Y;
ori[5] = cam->getUpVector().Z;
alListenerfv(AL_POSITION,pos);
alListenerfv(AL_ORIENTATION,ori);
}