Make sure that the ARC feature of your audio device is set to ON or AUTO. Verify that sound is output from the TV after turning on the TV and then the audio device. Make sure that your audio device is set to TV input. Change the TV audio output setting to PCM and check whether sound is output
The page maybe helpful
Control your soundbar using your Samsung TV remote