Roosters have “built-in” earplugs, which prevents them from damaging their hearing as they crow. When roosters open their beaks fully, their external auditory canals close completely.
Source: https://phys.org/news/2018-01-roosters-dont-deaf-loud-crowing.html