Get sound module state and flags.
Return the current sound module state and flags. See the SoundState constants group.