That brings to mind automatic gain control. It seems like there could be a market for headphones that have their own AGC to prevent a computer or music player from overriding such things. Perhaps a button to switch to AGC Normal, AGC Safe, AGC disabled? Maybe even default to AGC Safe, so one could crank up a game to where they can easily hear footsteps but then a 50 BMG next to the head would be the same volume. AGC Disabled to bring back the dynamic range of music that has a known loudness. Or perhaps it's a silly idea.
[Edit] Per liminalsunset I should be referring to this as Dynamic Range Compression or DRC