This is literally impossible. If you're, for example, watching a movie with DTS sound, DTS is DTS. What cable you use to transmit the DTS is completely irrelevant.
HDMI is superior because it supports lossless audio. S/PIDIF can only transmit heavily compressed (lossy) audio because it has very...