How is the soundbar connected to the TV?
If it's connected with HDMI-ARC try turning CEC off in the TV menu.
Is the soundbar going off or changing input when you change channels? That would indicate a problem with the soundbar.
Are you losing the TV Audio output when you change channels. The TV menu would show that change. If so then the TV has a problem.