This is how S/PDIF to TTL converter usually looks like. I simulated poor quality smoothed out signal with a sine wave.
Can comeone explain how it really works? Inverter with feedback resistor confuses me a bit. My intuitive approach would be to use a voltage divider to bias inverter's input to it's threshold point. On the schematic above it becomes properly biased automatically.