For the audio of the TV to be fed into the soundbar via HDMI both the TV and soundbar have to have ARC (audio return channel) and it has to be turned on in the TV and soundbar. If you don't have it in both you will need to use an additional connection (usually optical audio) to feed TV sound to the soundbar.