[PATCH 1/1] winecoreaudio: Make sure Port_SendToMessageThread is non-NULL in CoreAudio_WaveRelease.

Misha Koshelev mk144210 at bcm.edu
Mon Jan 28 08:06:35 CST 2008


I have started playing with wine on MacOS in VMWare. wineprefixcreate page faults on my
MacOS "system" and I tracked it to Port_SendToMessageThread staying NULL because of:
err:wave:CoreAudio_WaveInit AudioHardwareGetProperty: CoreAudio_DefaultDevice.outputDeviceID == kAudioDeviceUnknown
Clearly wineprefixcreate shouldn't be page faulting under any condition.

---
 dlls/winecoreaudio.drv/audio.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eb8d7b88d3e51504f12f13cf688d76dca173ba0d.diff
Type: text/x-patch
Size: 873 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080128/e4f99d03/attachment.bin 


More information about the wine-patches mailing list