Look on the back of your machines. If optical digital audio is available, use that. Both machines will have the connections labeled clearly on the back. "Audio out" on the tv, "line in", or "optical in" or "digital audio coax in" on the surround stereo. Unless your panasonic is a "theater in a box" in which case it may not have audio inputs. Good luck!