You need to kill coreaudiod. This will bring back functionality without rebooting. In fact usually a reboot makes them unusable again in my experience.
Open Activity Monitor, search for coreaudiod and kill process.
Or open terminal and use top command to find PID and:
sudo kill 5481
Or whatever process number top revealed for coreaudiod.