If the input is HDMI, it looks like never. Apps might, OTA might.
But for every Samsung I've seen, not one passed 5.1 from any HDMI input. CNET noted it at
http://www.cnet.com/news/20-tvs-tested-which-sets-can-pass-surround-sound-to-a-sound-bar/
Bob
I have a Samsung UN65H7150 TV, a Samsung HW-H750 soundbar and a Samsung BD-H5900 Blu-ray player.
Via HDMI-ARCI, I understand the TV itself will provide 5.1 to the soundbar , but will it passthrough 5.1 from an external device (namely the Blu-ray player)? I understand some TV's will and others won't.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic