Speculative evaluation (aka speculative execution) is an effective approach to achieving low-latency code at the cost of occasional rework (inefficiency). Speculative evaluation is a common low-level technique for modern computer architectures, but it can be supported at higher level programming models (cf. time warp protocol, temporal logic, reactive programming models).
One place it seems speculative evaluation would be especially useful is real-time computation of audio, e.g. for live coding or games. The idea is simple: we can speculatively fill audio buffers to prevent buffer under-runs, but then occasionally correct those buffers if we must react to any last-instant changes. Such a technique can still glitch. A straggling update might chop a little off the front. But since most of the speculated sounds should still be mostly correct, this is a different - and potentially more graceful - mode for glitches than typical under-runs.
Now, what I'm wondering is which audio APIs or libraries would most effectively to support these last-instant updates to existing buffers. I'm not an expert at sound programming, but most example code I've seen seems to assume commitment to buffers. If I'm committed to a buffer after I load it, then there's no choice but to make a tradeoff between latency and risk of under-runs. Which audio APIs do not require commitment?