Huw Davies (@huw) commented about dlls/winealsa.drv/mmdevdrv.c:
static AudioSessionWrapper *AudioSessionWrapper_Create(ACImpl *client);
+void lock_sessions(const BOOLEAN lock) +{
- lock ? EnterCriticalSection(&g_sessions_lock) : LeaveCriticalSection(&g_sessions_lock);
+}
This, and the next three commits, could be pulled out to a separate MR.