winmm: Try to load the Esound driver as a last resort.

Francois Gouget fgouget at codeweavers.com
Mon Mar 9 14:15:14 CDT 2009


This gets sound working out of the box on Solaris.
---

Solaris boxes tend to only have Esound. So if we don't try it as part of 
the default, these users will get no sound unless they go into winecfg 
(which does probe for ESound).

 dlls/winmm/winemm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winmm/winemm.h b/dlls/winmm/winemm.h
index ce6a649..7ef97f0 100644
--- a/dlls/winmm/winemm.h
+++ b/dlls/winmm/winemm.h
@@ -25,7 +25,7 @@
 #include "winbase.h"
 #include "mmddk.h"
 
-#define WINE_DEFAULT_WINMM_DRIVER     "alsa,oss,coreaudio"
+#define WINE_DEFAULT_WINMM_DRIVER     "alsa,oss,coreaudio,esd"
 #define WINE_DEFAULT_WINMM_MAPPER     "msacm32.drv"
 #define WINE_DEFAULT_WINMM_MIDI       "midimap.dll"
 
-- 
1.6.1.3



More information about the wine-patches mailing list