And given this is about audio, you try one, then the other and go with your ears.
Many HDTVs will not pass or down code HD audio so you are often stuck with a direct connection from bluray to receiver or bar to get HD audio choices. As that is well discussed, I pause here.
What gives better sound quality: connecting a soundbar directly to the bluray player or connecting the soundbar to the tv and bluray player to the tv?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic