private void applyListenerRotation(Listener listener) {
        Vector3f dir = listener.getDirection();
        Vector3f up = listener.getUp();
        // Use the shared FloatBuffer fb
        fb.rewind();
        fb.put(dir.x).put(dir.y).put(dir.z);
        fb.put(up.x).put(up.y).put(up.z);
        fb.flip();
        al.alListener(AL_ORIENTATION, fb);
    }
Applies all parameters from the listener object to OpenAL.
@param listener The listener object.
jme3-core/src/main/java/com/jme3/audio/openal/ALAudioRenderer.java