A new theoretical calibration of the relation between mass-loss rate and H-alpha emission for O star winds