Same as the older X-FI, capture PCM from Speakers > encode to DTS > redirect to SPDIF > SPDIF out. You could have enabled 'Stereo Mix', then enabled 'listen to' then mute it for 'always on'. When I had the X-FI there was an additional Creative service for the encoding and redirect, which used up...
www.techpowerup.com