Controlling 5.1 output

Anyone know a software that can control what comes out of what speaker for a 5.1 system? (eg. sending the left output to the rear right speaker)

I don’t want to keep plugging and unplugging my speakers (to swap their outputs), think it’s not good the for the contacts :-/