Change messages about config file to registry.

This commit is contained in:
Vitaliy Margolen 2005-07-03 11:23:48 +00:00 committed by Alexandre Julliard
parent b8fc783be2
commit ade3dd2828
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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);