Can't record audio with Macbook + Earbuds
If you have not already, I would do a restart and as part of the restart clear the non-volatile RAM (NVRAM): 

Hold down CommandOptionPRall at the same time starting before the first system boot chimes and letting them chime 3 times before releasing. 

Worked for me when that happened.