Isolating an audio line connection with two capacitors
AC mains is a audio frequency so capacitors large enought to pass audio will not effectively block AC hum.  use an audio isolating transformer instead.

Small transformers are available for line level signals, and larger ones for loudspeaker signals.

isolation is no needed between a floating and a fixed device unless the floating device must stay floating.