You would need to check output devices in system preferences for built in speakers, not input.
You can try a pram reset:
Power off the computer, power back on and hold the following keys before the start chime, OPTION, COMMAND P, R (no commas)
Contunur to hold the keys down till you hear the start chime for a second time, then release.
See if that helps.