Mac Mini: No sound except for startup chime
Try this
https://apple.stackexchange.com/a/54800/210364

I had the same problem, and these steps helped:

Reboot your mac holding Command + Option + P + R until you hear at least two startup chimes.