If I choose the asio component everything behaves correctly however it is necessary to use a custom channel mapping in the f2K advanced asio settings.
I understand that the wasapi component is operating in exclusive mode but surely the sample rate should simply follow the source selected? If I change the sample rate with the RME setting tool fb2k insists that I reselect the output channel and after doing this will play the 192KHz file but fail on the 44.1KHz. If I then attempt to play a 192KHz file foobar fails due to incorrect sample rate ('Unsupported stream format'). When playing a 44.1 KHz source the basic sample rate setting is changed to 44KHz overriding the driver setting. Using the most recent foobar2000 under windows 7 64 bit and the wasapi output component I have the following problem sending output via SPDIF.
Although this is most likely to be a software issue I thought I would report it here in case there are any driver issues.