MacBook software speaker problem
If applications can still send sound to your speakers but the system does not, it sounds like your default output device is something other than your speakers. Hold down the Option key and click on the volume icon in your Menu Bar (or go to System Preferences > Sound > Output). Under "Output Device:" select the device you want to use, probably "Internal Speakers." Make sure your volume is up, then try playing a sound again.