If you are having audio issues, or if the volume control is grayed out on your device, one of the following methods may resolve your problem:
Method #1 involves quitting and restarting the coreaudio daemon. As a word of explanation, coreaudiod is the daemon that powers Core Audio, which is the low-level API for sound on macOS. In other words, it basically controls everything about sound on your Mac. A daemon is a process which runs in the background of your machine. Daemons can be identified by the letter "d" at the end of their names. So do the following:
1. Launch the "Activity Monitor" app in your "/Applications/Utilities" folder.
2. In the search field that is located in the top right corner of the window, type in "coreaudiod", without the quotes.
3. Select the "coreaudiod" process in the list and then click the "Quit Process" icon on the top left corner of the window. It is a little circle with an "x" in it.
4. In the little dialog, select "Quit" or "Force Quit". Either one will do.
5. At this point, the coreaudio process will automatically restart itself. You will know this because its PID number will change.
Hopefully, doing the above will resolve your sound problems. But if not, let's try method #2 below.
Method #2:
1. Launch the "Terminal" app in your "/Applications/Utilities" folder.
2. Type the following in the Terminal window, and then hit your "return" key:
rm /Library/Preferences/com.apple.soundpref.plist
This action will delete the current sound prefs file that is stored in "~/Library/Preferences/". If you don't like using the Terminal, you do the same thing manually by dragging the file to the trash.
3. Restart your machine and see if your problem has been resolved.
If you are STILL having sound/recording issues after trying methods one and two above, then let's move to the third method.
Method #3:
This method will check your audio configuration to make sure that everything is set up right.
1. Launch the "Audio MIDI Setup" app in your "/Applications/Utilities" folder.
2. In the title bar it will say "Audio Devices".
3. Click on the "Built in Output" option in the left-hand sidebar.
4. Disable/uncheck any boxes under the "Mute" column in the right side of the window.
5. Verify that the "Format" dropdown menu is set to "44,100 Hz. If not, change it accordingly.
6. Shut down the app when you are done.
7. As an added step, reboot your machine.
Hopefully, one of the above three methods has cured your sound and recording ills. Please let me know. Thanks!