[Bug 29657] winecoreaudio memory management and locking seems to be broken
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jan 23 08:29:34 CST 2012
http://bugs.winehq.org/show_bug.cgi?id=29657
--- Comment #2 from Jörg Höhle <hoehle at 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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list