@Override
    public void updateListenerParam(Listener listener, ListenerParam param) {
        checkDead();
        // Check if this listener is the active one
        if (this.listener != listener) {
            logger.warning("updateListenerParam called on inactive listener.");
            return;
        }

        synchronized (threadLock) {
            if (audioDisabled) {
                return;
            }

            switch (param) {
                case Position:
                    applyListenerPosition(listener);
                    break;
                case Rotation:
                    applyListenerRotation(listener);
                    break;
                case Velocity:
                    applyListenerVelocity(listener);
                    break;
                case Volume:
                    applyListenerVolume(listener);
                    break;
                default:
                    logger.log(Level.WARNING, "Unhandled listener parameter: {0}", param);
                    break;
            }
        }
    }
Updates a specific parameter for the listener.

@param listener The listener object.
@param param    The parameter to update.
jme3-core/src/main/java/com/jme3/audio/openal/ALAudioRenderer.java