Hi,
I am looking for a way to swap the left and right channel data in an I2S audio stream.
Reason is that both my left and right channel active speakers use the left channel from the I2S stream for audio input so in order to get the right side speaker to
play the right channel audio I have to swap the right channel data into the left channel location.
One way is to use shiftregisters 2x32 bit for the left channel and one 32 bit for the right channel and switch between left and right outputs with the LRCLK.
This involves a lot of shift registers.
Another but rude method is to invert the LRCLK signal for the right speaker but then I introduce a delay between left and right channel equal to half the
sample period (10.4uS in my case -> 48KHz Fs).
I have no idea if that is noticable in the sound image between left and right channel.
Do you have any thoughts on that or do you know an easier way to swap left and right channel in the I2S stream keeping both synchronously converted?