Hoffman, 46, who was found Feb. 2 with a needle in his arm on the floor of his Manhattan apartment, also had taken amphetamines and benzodiazepines, which are drugs such as Xanax and Valium that are widely prescribed for anxiety, trouble sleeping and other problems, said a spokeswoman for the medical examiner.