cmd_reset restores all the audio hardware registers. it clears the attach bits, restores the audio interrupt vectors if the programmer has changed them, and performs the cmd_flush command to cancel all requests to the channels. CMD_RESET also unstops channels that have had a cmd_stop performed on them. cmd_reset does not unlock channels that have been locked by adcmd_lock.