Sometimes a simple reboot will fix the audio issues you are experiencing. This should always be the first thing you try when something goes wrong. If your volume controls are grayed out or you see a red light from your headphone jack, insert and remove an Apple headphone plug a few times. This has been known to fix the issue and restore sound.  Note: This is a sign of failing hardware, and you will likely need to do this more and more often until it fails completely. You'll need to have your Mac serviced to get this problem fixed for good. Some users have reported better success by using Apple brand headphones or earbuds for this procedure. There may be a system or hardware update available that will fix the issues you're having. Click the Apple menu and select "Software Update" to begin looking for and installing any available updates. This will restart the sound controller for the Mac:  Open Activity Monitor from the Utilities folder. Find the "coreaudiod" process in the list. Click the "Process Name" header to sort the list alphabetically. Click the the "Quit Process" button. After confirming, coreaudiod will be closed and will restart automatically.
أعِد تشغيل جهاز الكمبيوتر. وصّل السماعات ثم انزعها. نزّل أي تحديثات متاحة. افتح أداة مراقبة النشاط وأوقف العملية التي تحمل الاسم "coreaudiod".