We compute the p-mode oscillation frequencies and frequency splittings that arise in a two-dimensional model of the Sun that contains toroidal magnetic fields in its interior.