(08-16-2016, 05:37 AM)Garteal Wrote: [ -> ]Due to having your volume way too loud, not listening too much music. Guessing you meant that anyway. But loud bursts are dangerous yes. If you go through this regularly, maybe you should look into normalizing your session with something like ReplayGain.
What'd you for testing your hearing and what open headphone do you have? It's probably one with a high impedance if it's not that loud. They require you to push more power through it for volume.
ReplayGain makes all your music the same volume. It doesn't make your drivers/hardware output the same volume. It also didn't help when Droidsound-E (Android game music player) lacked support until recently, and then it kept breaking due to bugs. It also doesn't help when different apps are massively louder or quieter than ReplayGain. I installed Viper4Android, an audio effect program. It can normalize and cap volume, but doesn't work on Firefox Mobile (which I use for Youtube and stuff) (since Youtube app is incompatible with MicroG).
And loud bursts are usually generated because I forget (or software fails) to REDUCE VOLUME A LOT whenever I switch from speakers to headphones, sometimes because Jack+ALSA-aloop decides to ADD A BURST OF NOISE WHENEVER A STREAM ENDS FSCK, previously because ALSA kept resetting to full volume whenever I restarted ALSA/JACK due to complete and utter unreliability (this was awful until I found a workaround), recently because some Youtube class/stream was much quieter than other videos I watch.
A long time ago, Android had 2 volume controls. Since 4.something, they added a third one. You must turn them all down.
On my old Galaxy Nexus CM11 ROM, you could turn down the volume as much as you like, you'll only change the ringer volume. You can turn down the music volume as much as you like on speakers, it won't affect the headphone volume. You can turn down the volume as much as you like on the lock screen, the phone won't register. This led to several instances of ear rape.
Modern Android still has 3 volume controls. On my Nexus 5X, I just unlock with fingerprint and manually slide all 3 volumes to 10%.
But seriously!!! Why not just make headphones quieter IN THE FIRST PLACE? Maybe include a master volume, and add mute controls for media/call/alarm, and add 2 secondary sliders (media, call+alarm). Note that I'm tying call and alarm volumes together, but they can be muted individually.
One potential issue: What if you want to reduce music while keeping calls up. Then you put on headphones, get a call, and BAM!
I assume my headphones are low impedance, which is why they're so much louder than speakers at the same volume setting (do they assume. Why can't everyone designing headphone outputs reduce their output to make them NOT unusably loud on the majority of headphones? Is it possible for an audio output to detect impedance and adjust volume/current to deliver a fixed output power (given the same audio signal)?