I don't quite know what you're asking, so I'm not sure.
Try setting up your sound card to output the digital bitstream, and set up whatever software you are using to pass the digital bitstream. That's what I had to do a couple of years ago when I set up my Creative sound card to play through my receiver. I haven't done it in years, though (and don't do it now), so I can't remember all of the details. However, you should be able to get Dolby Digital and (I think) DTS soundtracks from the sound card. The one thing that you don't get with the optical connection, at least as far as I know, are all of the gaming surround effects that the Creative card processes for the analog outputs.