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!