Foobar + Optical (S/PDIF) not working... help please

You might want to check out this thread for more information on the capabilities of toslink.