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
21e0f739
Commit
21e0f739
authored
Aug 20, 2013
by
Fabrice Bauzac
Committed by
Alexandre Julliard
Aug 21, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Fix WOD_Open() WID_Open() WAVE_MAPPER no-device case.
parent
fbe4012e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
waveform.c
dlls/winmm/waveform.c
+4
-0
No files found.
dlls/winmm/waveform.c
View file @
21e0f739
...
...
@@ -1228,6 +1228,8 @@ static LRESULT WOD_Open(WINMM_OpenInfo *info)
WINMM_MMDevice
*
mmdevice
;
if
(
WINMM_IsMapper
(
info
->
req_device
)){
if
(
g_outmmdevices_count
==
0
)
return
MMSYSERR_BADDEVICEID
;
devices
=
g_out_mapper_devices
;
mmdevice
=
read_map
(
g_out_map
,
0
);
lock
=
&
g_devthread_lock
;
...
...
@@ -1317,6 +1319,8 @@ static LRESULT WID_Open(WINMM_OpenInfo *info)
HRESULT
hr
;
if
(
WINMM_IsMapper
(
info
->
req_device
)){
if
(
g_inmmdevices_count
==
0
)
return
MMSYSERR_BADDEVICEID
;
devices
=
g_in_mapper_devices
;
mmdevice
=
read_map
(
g_in_map
,
0
);
lock
=
&
g_devthread_lock
;
...
...
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