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
ca4ee7f6
Commit
ca4ee7f6
authored
Jul 13, 2011
by
Andrew Eikum
Committed by
Alexandre Julliard
Jul 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Request that WinMM perform audio conversion if the hardware doesn't…
dsound: Request that WinMM perform audio conversion if the hardware doesn't support the requested format.
parent
2174717f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
capture.c
dlls/dsound/capture.c
+1
-1
primary.c
dlls/dsound/primary.c
+1
-1
No files found.
dlls/dsound/capture.c
View file @
ca4ee7f6
...
...
@@ -942,7 +942,7 @@ static HRESULT IDirectSoundCaptureBufferImpl_Create(
return
err
;
}
}
else
{
DWORD
flags
=
CALLBACK_FUNCTION
;
DWORD
flags
=
CALLBACK_FUNCTION
|
WAVE_MAPPED
;
err
=
mmErr
(
waveInOpen
(
&
(
device
->
hwi
),
device
->
drvdesc
.
dnDevNode
,
device
->
pwfx
,
(
DWORD_PTR
)
DSOUND_capture_callback
,
(
DWORD_PTR
)
device
,
flags
));
...
...
dlls/dsound/primary.c
View file @
ca4ee7f6
...
...
@@ -125,7 +125,7 @@ HRESULT DSOUND_ReopenDevice(DirectSoundDevice *device, BOOL forcewave)
if
(
device
->
drvdesc
.
dwFlags
&
DSDDESC_DOMMSYSTEMOPEN
)
{
DWORD
flags
=
CALLBACK_FUNCTION
;
DWORD
flags
=
CALLBACK_FUNCTION
|
WAVE_MAPPED
;
if
(
device
->
driver
)
flags
|=
WAVE_DIRECTSOUND
;
...
...
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