Is there an easy way to recognize the sampling frequency of the played stream?
I successfully implemented a Squeezebox Duet with clock injection from external DAC for 44.1 kHz Streams. The Clock is located at the DAC and the Squeezebox is synced to the external Clock. BCK and WS are generated locally by the dac clock. I used a CS receiver on the SPDIF stream to decode the DATA line. So this is like slaving a transport or async USB. Clock is located on the DAC end. This solution works only for 44.1 kHz files. I would like to implement the same principle with a Squeezebox Touch supporting sampling frequencies of 44.1 and 48 kHz multiples. Has someone a good idea how to recognize the sampling frequerncy to switch clocks? Recognition between 44.1 and 48 kHz and the twofold of both frequencies? I would build a dac with two clocks. Both clocks are injected to the squeezebox touch. For the division for BCK and WS the right clock and multiplier are selected. DATA line is transferred through a spdif receiver. I think John Swenson wrote somewhere about decoding spdif stream for such a reason. any ideas? Peter -- omainik ------------------------------------------------------------------------ omainik's Profile: http://forums.slimdevices.com/member.php?userid=36135 View this thread: http://forums.slimdevices.com/showthread.php?t=85871 _______________________________________________ audiophiles mailing list audiophiles@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/audiophiles