Theorem of Levinson via the Spectral Density