Toslink output

When playing .mp3/wav/flac, does it automatically output to the toslink?

I have an external DAC with toslink input, this should work with the WD HD MP?

Thanks!