Please check the audio in device manager, does it have a check mark over it ? if so try repairing avast first then reboot but i dont think that will help but worth a try, if still no change uninstall avast, does it work now ? if yes then you may have to go to device manager and see if you can update the drivers for the audio before reinstalling avast.
Actually you can try updating the drivers first if you like.