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
cdbd17bd
Commit
cdbd17bd
authored
Aug 07, 2007
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Aug 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Make hardware acceleration work again.
parent
84cf17c3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
capture.c
dlls/dsound/capture.c
+1
-2
dsound.c
dlls/dsound/dsound.c
+1
-1
No files found.
dlls/dsound/capture.c
View file @
cdbd17bd
...
...
@@ -1584,7 +1584,7 @@ HRESULT DirectSoundCaptureDevice_Initialize(
/* Disable the direct sound driver to force emulation if requested. */
device
->
driver
=
NULL
;
if
(
ds_hw_accel
>
DS_HW_ACCEL_EMULATION
)
if
(
ds_hw_accel
!=
DS_HW_ACCEL_EMULATION
)
{
err
=
mmErr
(
waveInMessage
((
HWAVEIN
)
wid
,
DRV_QUERYDSOUNDIFACE
,(
DWORD_PTR
)
&
(
device
->
driver
),
0
));
if
(
(
err
!=
DS_OK
)
&&
(
err
!=
DSERR_UNSUPPORTED
)
)
{
...
...
@@ -1594,7 +1594,6 @@ HRESULT DirectSoundCaptureDevice_Initialize(
}
err
=
DS_OK
;
/* Get driver description */
if
(
device
->
driver
)
{
TRACE
(
"using DirectSound driver
\n
"
);
...
...
dlls/dsound/dsound.c
View file @
cdbd17bd
...
...
@@ -1414,7 +1414,7 @@ HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGUID lpcG
device
->
driver
=
NULL
;
/* DRV_QUERYDSOUNDIFACE is a "Wine extension" to get the DSound interface */
if
(
ds_hw_accel
>
DS_HW_ACCEL_EMULATION
)
if
(
ds_hw_accel
!=
DS_HW_ACCEL_EMULATION
)
waveOutMessage
((
HWAVEOUT
)
wod
,
DRV_QUERYDSOUNDIFACE
,
(
DWORD_PTR
)
&
device
->
driver
,
0
);
/* Get driver description */
...
...
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