http://bugs.winehq.org/show_bug.cgi?id=29657
--- Comment #2 from Jörg Höhle hoehle@users.sourceforge.net 2012-01-23 08:29:34 CST --- I had not enough time with the Mac over the week-end. The sketch is: 1. Introduce lock-less callbacks and remove mid-function unlocks, adding This->queued_buffers and a boolean "used" slot to each AQBuf; The new cb is merely: buf->used = 0; Requires code to move from queued_buffers to This->avail_buffers; 2. Change remaining OSSpinLock to CriticalSection; 3. Later perhaps merge the current GetPosition queued_bufinfos into queued_buffers. The timestamp therein would benefit capture too.