YES... you also need a DAC if it's just an amp
so you need... Computer -- Optical Toslink -- DAC -- AMP -- Speakers
The reason you want toslink for computer audio, is because computers are noisy, especially when you have a high powered graphics card...
Sometimes,, the DAC and AMP are all in one device.. for example, the home theater receivers.. it has everything you need all in one.