Right, I've got a PGA2311 volume controller set up and being controlled from a simple Arduino sketch.
The output from the PGA2311 is being fed to a relay, which toggles between:
1. Sending the audio to a headphone output (for further amplification in another part of the chassis).
2. Sending the audio to a pair of dual op-amps, set in a unity buffer configuration, and then on to a pair of dual RCA jacks to act as preouts on the back of the chassis.
Schematic:
Problem:
When the relay is in position 1 - the headphone output - the output is great, the audio is great, and it looks as I would expect:
However, when the relay to position 2 - opamps and RCA jacks - I get the following on the scope for both of the RCA jacks, both left and right channels:
The output from the PGA2311 is being fed to a relay, which toggles between:
1. Sending the audio to a headphone output (for further amplification in another part of the chassis).
2. Sending the audio to a pair of dual op-amps, set in a unity buffer configuration, and then on to a pair of dual RCA jacks to act as preouts on the back of the chassis.
Schematic:

Problem:
When the relay is in position 1 - the headphone output - the output is great, the audio is great, and it looks as I would expect:

However, when the relay to position 2 - opamps and RCA jacks - I get the following on the scope for both of the RCA jacks, both left and right channels:

- I tried swapping the opamps, no change. I even tried removing the opamps from their sockets, and the result is the same!
- When scoping the output right at the relay common pins, the result is the same - when the relay is in position 1, the output is clean, and when in position 2 is strangely distorted.