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
49b3cec1
Commit
49b3cec1
authored
Oct 25, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Oct 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reimplement patch by Marcus Meissner ('98) to "fix" problems with
DSCAPS_EMULDRIVER flag for games like Quake 2 and Unreal Tournament.
parent
4ff66083
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
dsound_main.c
dlls/dsound/dsound_main.c
+7
-2
No files found.
dlls/dsound/dsound_main.c
View file @
49b3cec1
...
...
@@ -49,7 +49,10 @@ DEFAULT_DEBUG_CHANNEL(dsound);
/* these are eligible for tuning... they must be high on slow machines... */
/* especially since the WINMM overhead is pretty high, and could be improved quite a bit;
* the high DS_HEL_MARGIN reflects the currently high wineoss/HEL latency */
* the high DS_HEL_MARGIN reflects the currently high wineoss/HEL latency
* some settings here should probably get ported to wine.conf */
#define DS_EMULDRIVER 1
/* some games (Quake 2, UT) refuse to accept
emulated dsound devices. set to 0 ! */
#define DS_HEL_FRAGS 48
/* HEL only: number of waveOut fragments in primary buffer */
#define DS_HEL_QUEUE 28
/* HEL only: number of waveOut fragments to prebuffer */
/* (Starcraft videos won't work with higher than 32 x10ms) */
...
...
@@ -3057,8 +3060,10 @@ HRESULT WINAPI DirectSoundCreate(REFGUID lpGUID,LPDIRECTSOUND *ppDS,IUnknown *pU
unsigned
c
;
/* FIXME: look at wcaps */
(
*
ippDS
)
->
drvcaps
.
dwFlags
=
DSCAPS_EMULDRIVER
|
(
*
ippDS
)
->
drvcaps
.
dwFlags
=
DSCAPS_PRIMARY16BIT
|
DSCAPS_PRIMARYSTEREO
;
if
(
DS_EMULDRIVER
)
(
*
ippDS
)
->
drvcaps
.
dwFlags
|=
DSCAPS_EMULDRIVER
;
/* Allocate memory for HEL buffer headers */
for
(
c
=
0
;
c
<
DS_HEL_FRAGS
;
c
++
)
{
...
...
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