Barium oxide is a chemical compound . Barium oxide , BaO , is a white hygroscopic compound formed by the burning of barium in oxygen , although it is often formed through the decomposition of other barium salts .