that ORIENTATION thing

hi there!

here comes a serious one…
thee lines of code may be familiar to all of you…

    al.alSourcefv(sources[selected_buffer].getSource(), AL.AL_POSITION, listenerPos);
    al.alSourcefv(sources[selected_buffer].getSource(), AL.AL_VELOCITY, listenerVel);

they are in the tutorials. But curiously, while trying to do the following:

    al.alSourcefv(sources[selected_buffer].getSource(), AL.AL_ORIENTATION, listenerOri);

I can’t get a sound. The file is not loaded. Is not casual that the orientation is not set in the tutorials?? It doesn’t seem to work in the same way that the others do!

Btw, somebody could explain me what does the following mean?
AL_ORIENTATION
. Type: ALfv6 (at/up) Range: N/A

Please help with this… so strange a thing!
Peace and joal to you all.

Ps. of course i am using the 3 and 6-float vector that come in the sample codes.
Tricky!

ALfv6 (at/up) means:

f = float
v = vector (array in this case)
6 = length of v
at = your orientation vector (3f)
up = your up vector (3f)

So you have to pass a FloatBuffer (size 6), the first 3 floats your “at” vector, the next 3 floats your “up” vector.

Thanks.

Anyway, that is what I am doing (which actually came in the tutorials).
I really have no clue about this.

Cheers