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

Replace registry editing instructions with winecfg.

parent f653a09d
...@@ -509,10 +509,11 @@ DWORD OSS_OpenDevice(OSS_DEVICE* ossdev, unsigned req_access, ...@@ -509,10 +509,11 @@ DWORD OSS_OpenDevice(OSS_DEVICE* ossdev, unsigned req_access,
return WAVERR_BADFORMAT; return WAVERR_BADFORMAT;
} }
/* check if the fragment sizes are the same */ /* check if the fragment sizes are the same */
if (ossdev->audio_fragment != (frag ? *frag : 0) ) { if (ossdev->audio_fragment != (frag ? *frag : 0) )
{
ERR("FullDuplex: Playback and Capture hardware acceleration levels are different.\n" ERR("FullDuplex: Playback and Capture hardware acceleration levels are different.\n"
"Create string value : \"HardwareAcceleration\" = \"Emulation\" in the registry\n" "Please run winecfg, open \"Audio\" page and set\n"
"under [HKEY_CURRENT_USER\\Software\\Wine\\DirectSound].\n"); "\"Hardware Acceleration\" to \"Emulation\".\n");
return WAVERR_BADFORMAT; return WAVERR_BADFORMAT;
} }
if (GetCurrentThreadId() != ossdev->owner_tid) if (GetCurrentThreadId() != ossdev->owner_tid)
......
...@@ -345,8 +345,8 @@ static HRESULT DSDB_MapBuffer(IDsDriverBufferImpl *dsdb) ...@@ -345,8 +345,8 @@ static HRESULT DSDB_MapBuffer(IDsDriverBufferImpl *dsdb)
dsdb->fd, 0); dsdb->fd, 0);
if (dsdb->mapping == (LPBYTE)-1) { if (dsdb->mapping == (LPBYTE)-1) {
ERR("Could not map sound device for direct access (%s)\n", strerror(errno)); ERR("Could not map sound device for direct access (%s)\n", strerror(errno));
ERR("Create string value : \"HardwareAcceleration\" = \"Emulation\" in the registry\n" ERR("Please run winecfg, open \"Audio\" page and set\n"
"under [HKEY_CURRENT_USER\\Software\\Wine\\DirectSound].\n"); "\"Hardware Acceleration\" to \"Emulation\".\n");
return DSERR_GENERIC; return DSERR_GENERIC;
} }
TRACE("The sound device has been mapped for direct access at %p, size=%ld\n", dsdb->mapping, dsdb->maplen); 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