[PATCH 1/5] mmdevapi: Add InitializeDriver() method to drivers

Andrew Eikum aeikum at codeweavers.com
Fri Apr 29 15:50:01 CDT 2011


This prevents a race condition if two threads try to create the first 
audio endpoint at the same time.
---
   dlls/mmdevapi/main.c                          |   11 ++++++++++-
   dlls/mmdevapi/mmdevapi.h                      |    2 ++
   dlls/winealsa.drv/mmdevdrv.c                  |   15 +++++++++------
   dlls/winealsa.drv/winealsa.drv.spec           |    1 +
   dlls/winecoreaudio.drv/mmdevdrv.c             |   15 +++++++++------
   dlls/winecoreaudio.drv/winecoreaudio.drv.spec |    1 +
   dlls/wineoss.drv/mmdevdrv.c                   |   15 +++++++++------
   dlls/wineoss.drv/wineoss.drv.spec             |    1 +
   8 files changed, 42 insertions(+), 19 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mmdevapi-Add-InitializeDriver-method-to-drivers.patch
Type: text/x-patch
Size: 6314 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110429/b77cd43b/attachment.bin>


More information about the wine-patches mailing list