This is a thread that I ran across in my search to get bit perfect audio. I want better than my 16 bit 44.1Khz pulse audio can do (I have some 24 bit 96Khz and 24 bit 192Khz recordings). Come to find out it isn't hard to do. I use deadbeef and follow that method.

One thing to note, it won't work quite right if you have something open already using the sound system. I had a youtube video paused and then I tried to get deadbeef going at high rez. What I found out was I could hear the music but it was only running at 44.1Khz. I had to stop the flash player so the audio would be released. I then restarted deadbeef and it worked perfect at 96Khz and 192Khz.

My setup is to run the spdif from my computer to my receiver. My reciever displays the incoming signal information so I can see what is actually being transfered.