Amplification of light from an undulatory point of view