I would say 1950s. It got bad enough that juke boxes put in automatic volume controls - compressors - to even things out. Radio's had it about as long.
Was it 1982 when the CD was invented? But people were pushing for more loudness in pop records before then going back to the 40s and 50s. I'm curious about when the push for loudness first started reducing audio quality.