How do I set up Vizio soundbar 3851(no HDMI ) to Apple TV and my samsung TV through a cable box. Currently I have the TV wor

Solution
Are these the connections on the sound bar: Analog Audio Input1x Stereo RCA, Analog Audio Input1x 3.5mm stereo mini jack, Digital Audio Input1x RCA (Coaxial), Digital Audio Input1x Optical (Toslink), USB Input1x USB (for .WAV Audio Playback?

And your objective is to bring in audio from Apple TV, a Cable box (?), and another TV probably via a selector switch that allows you to select which input audio source is to output to the Vizio Sound bar.

What audio outputs are available on each of the three source devices. Not sure about "Cable box" so please add some explanation there.

You may be dealing with physical conversions as well as digital/analog audio conversions.

Check these two websites...
Are these the connections on the sound bar: Analog Audio Input1x Stereo RCA, Analog Audio Input1x 3.5mm stereo mini jack, Digital Audio Input1x RCA (Coaxial), Digital Audio Input1x Optical (Toslink), USB Input1x USB (for .WAV Audio Playback?

And your objective is to bring in audio from Apple TV, a Cable box (?), and another TV probably via a selector switch that allows you to select which input audio source is to output to the Vizio Sound bar.

What audio outputs are available on each of the three source devices. Not sure about "Cable box" so please add some explanation there.

You may be dealing with physical conversions as well as digital/analog audio conversions.

Check these two websites:


http://www.diyaudioandvideo.com/TV/WiringDiagram/

http://www.ceaconnectionsguide.com/

They provide a good indication of what may need to be done.

Draw up your own sketch of devices and ports then start looking into the necessary adapters and a 3 way selector switch.

Example switch:

https://www.amazon.com/Fosmon-Technology-Selector-Splitter-Connecting/dp/B00HNCPR92/ref=sr_1_2?s=musical-instruments&ie=UTF8&qid=1476210722&sr=1-2&keywords=3-way+selector+switch
 
Solution