code: public void setReferenceDistance (float distance)
      {
          if (_referenceDistance != distance) {
              AL10.alSourcef(_id, AL10.AL_REFERENCE_DISTANCE, _referenceDistance = distance);
          }
      }
docs: Sets the reference distance for attenuation.