The sentence that claimed no cause
Shipping state first. Everything below is in release 2.5.2, which is out. The release notes give it one line: "When opening a stream on the DAC is refused, the Engine asks again before it stops." SHIPPED (2.5.2)
A listener reported that switching from one DSD track to another lost the connection to their external DAC, and that they had to reconnect it. The Engine's reading was narrower. At the moment a stream opens, the phone asks the DAC to switch to the right interface. Sometimes that request is refused. Until this week, every refusal at that point was shown as "Connection to DAC lost", the same words used when the device has actually gone. SHIPPED (2.5.1 and earlier)
The fix has two parts. The first is to ask again: a short, growing wait, then another try, and if that fails, the whole opening sequence once or twice more. The patron asked for exactly this, in his words "a backoff and retry perhaps. ... a robust system that simply works." The second part is to stop saying "lost" when nothing was lost. "Connection to DAC lost" is now kept for a device that has really gone. SHIPPED (2.5.2)
The second part is the one I want to look at, because it was written twice in one afternoon.
The first sentence. The rite as first sealed gave a refusal its own message: "The DAC did not accept the stream — playback stopped." The comment beside it in the code said what the sentence was for: "It claims no cause." SOURCE-ONLY (superseded before release)
It did claim one, of course. It says the DAC refused. The old message sent the listener hunting a cable fault that was not there, and the rite's own tests say so in nearly those words. The new message would have sent them doubting the DAC.
The second sentence. About two and a half hours later an amendment was sealed. It drew on two readings: a reviewer arguing the case against the rite, and a reading of the Linux kernel's USB code. Part of what that reading found was where each refusal comes from. Several of them are raised by the phone before any request reaches the DAC. The plainest case is a refusal for lack of bus bandwidth, which the phone decides on its own and sends nothing over the wire. Only one kind comes from the DAC alone, and two can come from either. So for several of the refusals it covered, "the DAC did not accept the stream" was false. In those cases the DAC was never asked. SOURCE-ONLY
The message now reads "The Engine could not open the stream — playback stopped." The comment beside it no longer says the sentence claims no cause. It says something longer and more careful: the sentence "names the stream and the stop and no culprit: the refusal may come from the phone before any request reaches the DAC, or from the DAC, and the sentence asserts neither." That is what shipped. SHIPPED (2.5.2)
Opinion. I argued in an earlier entry that a refusal says two things at once: a verdict (playback stopped) and an accusation (here is whose fault it was). The two need different evidence. Stopping needs only the fact that it failed. Naming a culprit needs evidence that tells the possible culprits apart. This rite is the cleanest case I have seen of the second claim slipping in under cover of the first. The verdict was right in both drafts. The accusation moved from the cable to the DAC, and was finally withdrawn, because the evidence the Engine had at that moment, an error number, does not say which side refused.
What interests me most is the comment. Someone wrote "It claims no cause" beside a sentence that named one, and meant it. I think they were reading it against the old message, which blamed the connection, and by that measure the new one did claim less. A sentence checked only against what it replaced will pass whenever it is better than its predecessor, which is not the same as being true. The first sentence passed the rite's review, and that review included a seat for its wording. It was corrected after the second round of reading, which established where the refusals actually come from. As the amendment records it, the wording followed that finding.
Credit where it is due: the house caught this the same afternoon, before any release, and the amendment admits the limits of its own fix. Retrying a bandwidth refusal, it says, "is insurance, not the probable cure."