Sound volume randomly changes I'll be listening to music or a podcast, when for no reason that I can tell, the sound will sometimes change. Fortunately, it seems to always go down, not get super loud and blow out my ears.

This happens in any and every audio program, so I don't think it's app specific.

I'm using Android 4.0.4 on a Samsung Galaxy S2. The phone is rooted.

How do I prevent the sound from making random adjustments?
Many others have had this problem and have overcome it by loading the Persist app from Google Play:

Audio management made easy - Persist puts you in complete control of your audio with a variety of volume controls and settings.

Presets
Volume Locker - Prevent volume changes
Silent and vibrate modes

...