Switching inputs on XP-22 maintains the previously set volume level.
If you have a digital source playing at that time you will pump that signal thru at 89 on volume scale when you switch to that input.
I hope that’s clear enough. What that means is a unity gain signal burst thru your entire system. What will be the outcome of this? Potentially fried component or speaker driver, including temporary damage to your underwear.
Use bypass for your AVR and don’t screw around. You will potentially learn a painful and expensive lesson otherwise. It is bound to happen.