Set sound state.
This function lets you set sound module state settings via the SoundSetStateType structure.