[PATCH] winecfg: Don't reload winmm for each audio test

Andrew Eikum aeikum at codeweavers.com
Fri Oct 28 09:24:28 CDT 2011

For bug 28597.

I originally did this so that the user's changes to the Audio tab
would take effect without having to relaunch winecfg. However, this
causes crashes with WinMM's internal devices thread. I think we should
be using MMDevAPI's IMMNotificationClient within WinMM to be informed
when the device default changes, but obviously this needs more tests.

So this commit fixes the crashy behavior, but goes back to requiring a
winecfg relaunch to have the settings take effect. After we implement
IMMNotificationClient, we can do this correctly.

 programs/winecfg/Makefile.in |    2 +-
 programs/winecfg/audio.c     |   22 +---------------------
 2 files changed, 2 insertions(+), 22 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winecfg-Don-t-reload-winmm-for-each-audio-test.patch
Type: text/x-patch
Size: 1713 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111028/c9bdfdff/attachment.bin>

More information about the wine-patches mailing list