As Rudegar states, your issue is with the tv not the tv.
At the back of your tv you will have several inputs (TV, AV1, AV2, DVI etc) you cannot use more than one at a time, so if you have plugged the audio into AV1, you won't get sound when your tv is switched to DVI, or video when switched to AV1. You need to plug your audio leads into audio sockets associated with DVI.
It's not likely you don't have such a socket, but not impossible. If you are still struggling post the make and model of your tv and I'll see if I can help further.