The old pair of M-Audio Studiophile AV40 active speakers (one box containing all the amplifier parts and the second is just a passive box) I have have developed a clear low-frequency hum. This hum is present independent if anything is connected to (any of) the input or not, and the hum level is independent from the playback volume. Also, it is present only in the speaker output, and the headphone output is clean. Since the headphone output is taken before the main amplifier chip input, that points towards the chip.
The circuit is based on TDA7265 and is quite close to the one in the AV30 models, from which the schematic can be found online. Internal view of the speaker is available in a repair video. Two-sided power supply without proper regulator, but with a zener, and stereo operation. The cross-over for the one speaker is built on the same PCB as the amplifier.
As the first step, based on online suggestions, I changed the main filter electrolytic caps, 4700 uF and 220 uF ones, even though they seemed visually healthy. This did not remove the hum.
After this, I ended up disassembling the speaker a bit more. Visually I don't see anything suspicious, but I don't have a trained eye for this. During the disassembly, I made the important observation: when the PCB and heatsink are attached to the backplane and they are close to the mains transformer, the hum is present. When increasing the distance between the two, the hum goes away. There is a metal shielding on the transformer and the heatsink is grounded and a piece of sheet metal is between the PCB and the transformer. Given that the speakers did not have the hum earlier, the screening should be enough, but is not anymore. So something has aged badly or some physical damage (though nothing obvious is visible) has broken something.
I would appreciate any suggestion what to check next. I was thinking to swap out the 0.1 uF supply by-pass ceramic caps or the amplifier chip itself.