Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f09eb790
Commit
f09eb790
authored
Oct 03, 2005
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Oct 03, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace registry editing instructions with winecfg.
parent
f653a09d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
audio.c
dlls/winmm/wineoss/audio.c
+4
-3
dsrender.c
dlls/winmm/wineoss/dsrender.c
+2
-2
No files found.
dlls/winmm/wineoss/audio.c
View file @
f09eb790
...
...
@@ -509,10 +509,11 @@ DWORD OSS_OpenDevice(OSS_DEVICE* ossdev, unsigned req_access,
return
WAVERR_BADFORMAT
;
}
/* 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
"
"
Create string value :
\"
HardwareAcceleration
\"
=
\"
Emulation
\"
in the registry
\n
"
"
under [HKEY_CURRENT_USER
\\
Software
\\
Wine
\\
DirectSound]
.
\n
"
);
"
Please run winecfg, open
\"
Audio
\"
page and set
\n
"
"
\"
Hardware Acceleration
\"
to
\"
Emulation
\"
.
\n
"
);
return
WAVERR_BADFORMAT
;
}
if
(
GetCurrentThreadId
()
!=
ossdev
->
owner_tid
)
...
...
dlls/winmm/wineoss/dsrender.c
View file @
f09eb790
...
...
@@ -345,8 +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
(
"
Create string value :
\"
HardwareAcceleration
\"
=
\"
Emulation
\"
in the registry
\n
"
"
under [HKEY_CURRENT_USER
\\
Software
\\
Wine
\\
DirectSound]
.
\n
"
);
ERR
(
"
Please run winecfg, open
\"
Audio
\"
page and set
\n
"
"
\"
Hardware Acceleration
\"
to
\"
Emulation
\"
.
\n
"
);
return
DSERR_GENERIC
;
}
TRACE
(
"The sound device has been mapped for direct access at %p, size=%ld
\n
"
,
dsdb
->
mapping
,
dsdb
->
maplen
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment