code: public void setDirection (float x, float y, float z)
      {
          if (_dx != x || _dy != y || _dz != z) {
              AL10.alSource3f(_id, AL10.AL_DIRECTION, _dx = x, _dy = y, _dz = z);
          }
      }
docs: Sets the direction of the source.