If your Roku IR commands are so similar to Soundbar IR commands that they conflict, there's nothing you can do to switch IR addresses. And if the volume keys conflict too, those aren't Roku commands it's your tv commands that are conflicting too. You could switch from an IR Roku remote to Wifi voice remote, it won't help with your tv commands tripping your soundbar.
Edmund
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.