You can go to your audio properties, disable the audio card and then enable it.
If after disabling the device, it is gone, right click and select: show hidden devices.
I do this when my soundcard for unknown reasons stops working. Should restore sound and stuff in most cases and doesn't require a restart.
Not sure if and how you can automate that though.