Question: how to connect a yamaha soundbar to a vizio smart tv?
Answer: Power both devices on. ... 
Press the MENU button on your VIZIO remote, use the arrow keys to highlight System, and press OK on your remote.
Use the arrow keys to highlight CEC, and press OK on your remote.