Switching RCA audio with a relay

I’m looking for a way to use HA to switch between two audio RCA inputs. I found an automatic switcher, but the reviews concern me, so I figured HA can do it. One input will be a (dumb) TV and the other will be a Chromecast device, via an HDMI > RCA audio extractor. So, I can use the Chromecast state to trigger a relay. I’m hoping I can use an ESP8266 device tied to a 4ch relay like this. The RCA has a L+, L-, R+, and R-, so my thought is to use each channel of the relay to control each of those 4 wires. The output could attach to the middle common terminal, on input on the NC side and one on the NO side.

Something like this

Does anyone have any thoughts on if this will work? It seems like it would, but I wonder if it will cause “noise” in the signal. Is there a better way to do this?

Hey, considering doing the exact same thing. How did it work out for you?

I haven’t had the opportunity to try it yet