sbellon wrote: > I think you may be right. Looking at the source code of the Touch, > interrupts may occur in the middle of a bit. Then, in the interrupt > handler, free() is being called and releases only half of the bit. > Albeit being very rare, in sum several bits can get lost. As JPlay does > not use interrupts, such an error can simply not happen with JPlay, and > this must be what you have detected in your direct comparison.
Please explain what you mean that interrupts occur in the middle of a bit....? What is a bit in your context???? All cpu operations happen at the frequency of the cpu or the cache or memory or the io busses - bits are clocked onto them at the bus rate, things don't happen in the middle of bits as far as the cpu is concerned. Now if you are talking about bits on the cpu changing at the time when the digital output output is latched at a specific logic level then yes- this will also happen and it happens in any other audio streaming device, its a consequence of the innards of the device operating at a different frequency from the output port. As far as JPlay not using interrupts - this will mean its useless then. Any interface PC hardware device will use interrupts to talk to the OS. If JPlay itself does not see the interrupts, it does not mean they are not happening... So I would content: 1) Touch is bit perfect and has been verified to be many times 2) There are differences in audio playback with given dacs and these may vary with cpu load, spectrum of cpu activity etc, but this is really a second order effect of the processing levels modulating the ground or power rails and causing noise to be coupled to the dac in some way (via the digital interconnect, the power lines or just being close). 3) This is very dependant on the dac devices as much as the source and is very dependant on specific hardware. Contending that there is a software fix for it is very hard to justify, though in a given device pairing may show better performance. I'm afraid this thread is turning into an unsubstantiated justification of JPlay - I'd be happy to review the source code of this to see where the magic comes from but at present am not sure I've seen any justification that it is doing anything special. ------------------------------------------------------------------------ Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=96419 _______________________________________________ Touch mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/touch
