Feature request: Loudness safety protection
Both the master and application volumes might be set very high for a number of reasons. (e.g. after listening to a very quiet recording, or due to applications changing the volumes automatically, user error)
Ideally something in PulseAudio should measure the real output volume level and prevent sudden/loud noises. This is mean to protect hearing as well as expensive audio equipment.
A dedicated control in pavucontrol or a line in the configuration file could be used to set the maximum level. Hopefully applications will not attempt at changing safety parameters.
Perhaps it should react to sudden volume increases (in addition to the instantaneous level) to give the user the time to react.