it will depend on the sound system you but
if it has a small amp {sometimes part of a sub woofer} it will need to have enough INPUT ports to fit your pc and tv...if say it has 2 ..your pc has 1 and your tv has 1 then your covered!
but!
if it has 1 then either your pc OR tv can we plugged i at any1 time