The line in ground referencing isn't really designed for devices with no ground reference of their own: it's fine with a constant reference (eg, a separately powered CD head unit) but if it has no fixed ground reference it keeps trying to work out where the ground is & you get a ticking noise as it loops.

Grounding to empeg ground (or any suitable ground nearby) is fine.

Hugo