[winmm] wineoss: Change messages about config file to registry

Vitaliy Margolen wine-patch at kievinfo.com
Sat Jul 2 00:29:42 CDT 2005


Vitaliy Margolen

changelog:
  wineoss - change messages about config file to registry
-------------- next part --------------
Index: dlls/winmm/wineoss/audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/wineoss/audio.c,v
retrieving revision 1.163
diff -u -p -r1.163 audio.c
--- dlls/winmm/wineoss/audio.c	30 May 2005 11:12:07 -0000	1.163
+++ dlls/winmm/wineoss/audio.c	2 Jul 2005 05:26:06 -0000
@@ -511,7 +511,8 @@ DWORD OSS_OpenDevice(OSS_DEVICE* ossdev,
 	/* check if the fragment sizes are the same */
         if (ossdev->audio_fragment != (frag ? *frag : 0) ) {
 	    ERR("FullDuplex: Playback and Capture hardware acceleration levels are different.\n"
-		"Use: \"HardwareAcceleration\" = \"Emulation\" in the [dsound] section of your config file.\n");
+	        "Create string value : \"HardwareAcceleration\" = \"Emulation\" in the registry\n"
+                "under [HKEY_CURRENT_USER\\Software\\Wine\\DirectSound].\n");
 	    return WAVERR_BADFORMAT;
 	}
         if (GetCurrentThreadId() != ossdev->owner_tid)
Index: dlls/winmm/wineoss/dsrender.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/wineoss/dsrender.c,v
retrieving revision 1.8
diff -u -p -r1.8 dsrender.c
--- dlls/winmm/wineoss/dsrender.c	6 Jun 2005 19:50:35 -0000	1.8
+++ dlls/winmm/wineoss/dsrender.c	2 Jul 2005 05:26:06 -0000
@@ -345,7 +345,8 @@ static HRESULT DSDB_MapBuffer(IDsDriverB
                              dsdb->fd, 0);
         if (dsdb->mapping == (LPBYTE)-1) {
             ERR("Could not map sound device for direct access (%s)\n", strerror(errno));
-            ERR("Use: \"HardwareAcceleration\" = \"Emulation\" in the [dsound] section of your config file.\n");
+	    ERR("Create string value : \"HardwareAcceleration\" = \"Emulation\" in the registry\n"
+                "under [HKEY_CURRENT_USER\\Software\\Wine\\DirectSound].\n");
             return DSERR_GENERIC;
         }
         TRACE("The sound device has been mapped for direct access at %p, size=%ld\n", dsdb->mapping, dsdb->maplen);


More information about the wine-patches mailing list