Commit ade3dd28 authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

Change messages about config file to registry.

parent b8fc783b
......@@ -511,7 +511,8 @@ DWORD OSS_OpenDevice(OSS_DEVICE* ossdev, unsigned req_access,
/* 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)
......
......@@ -345,7 +345,8 @@ static HRESULT DSDB_MapBuffer(IDsDriverBufferImpl *dsdb)
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment