hdmi inputs dont output anything. connecting to an input port on the tv is useless... the tv would need an output port.
if it doesnt then you would need to run the audio cables from the source (ie tv box) to the sound system and the hdmi (video feed) from the source to the tv. of course this depends on what equipment you have.
if you want a better answer you need to provide at minimum the model of the tv and sound sytem. it would be even better if you also provided what output ports you have (or give a photo or link us to the manual).