How do you connect computer to tv with audio through home theater?

Connect the line output of the computer to the input of the home theater receiver. If the 'home theater' is an all-in-one type with DVD player, it may not have an option for external inputs.