Swap channels digitally

I have a conundrum where I need to take a digital S/PDIF signal and swap the channels. A second option would be to extract the right channel and duplicate the data to both left and right channels of the digital stream. I would need to keep it in the digital domain entirely and would need the sample rate to match the input. Sample rate output needs to be 44.1 or lower.
I have tried the minidsp nanodigi 2x8 and it outputs something like 96 kHz sample rate and it's incompatible with pretty much everything I have tried to input to.
How might I be able to accomplish this?
 
I don't know how you would do that although I'm reminded of the Pure DRX-701 DAB tuner (I have one) that had L and R channels reversed via the SPDIF output. There was a fix via a USB applied firmware update for that.
 
That should work, although it gives you a 1 sample time delay between left and right. If you want to get rid of that one sample delay difference, you need to do something with shift registers to buffer data.

What I wrote in post #2 is nonsense, because S/PDIF receivers normally have serial outputs with multiplexed channels (such as I2S).