Set sound module state and flags.
Set the sound module state and flags. See the SoundState constants group.