I have a Samsung Plasma TV - PS51E8000 model. It doesn't have a 3.5 mm audio output. So, I bought a Fiio Taishan Digital to Audio converter to connect my Sony D5 2.1 speakers to the TV via the Digital Audio Ooutput.
These are the steps I followed.
1) Connected Optical cable from TV...