I looked at the specs of the Yamaha HTR6050 and it doesn't appear to accept HDMI audio, so you'll need to connect the STB directly to the TV via component video or HDMI and then connect audio (coaxial or optical) directly from the STB to the AVR. Of course the settings in the STB (for audio output) and the AVR (for input) need to be correct.
Here's the FAQ on Cables & Connections:
http://www.digitalhome.ca/forum/showthread.php?t=76085
Here's a post useful for those new to the forum - FAQs, Search Tips, Optimization, etc:
http://www.digitalhome.ca/forum/showthread.php?t=57741
Here's the FAQ on Cables & Connections:
http://www.digitalhome.ca/forum/showthread.php?t=76085
Here's a post useful for those new to the forum - FAQs, Search Tips, Optimization, etc:
http://www.digitalhome.ca/forum/showthread.php?t=57741