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
a360cc47
Commit
a360cc47
authored
Nov 24, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: For consistency forward wReserved1 values from -W to -A calls too.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
074d9092
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
waveform.c
dlls/winmm/waveform.c
+2
-2
winmm.c
dlls/winmm/winmm.c
+1
-1
No files found.
dlls/winmm/waveform.c
View file @
a360cc47
...
@@ -2629,7 +2629,7 @@ UINT WINAPI waveOutGetDevCapsA(UINT_PTR uDeviceID, LPWAVEOUTCAPSA lpCaps,
...
@@ -2629,7 +2629,7 @@ UINT WINAPI waveOutGetDevCapsA(UINT_PTR uDeviceID, LPWAVEOUTCAPSA lpCaps,
wocA
.
dwFormats
=
wocW
.
dwFormats
;
wocA
.
dwFormats
=
wocW
.
dwFormats
;
wocA
.
wChannels
=
wocW
.
wChannels
;
wocA
.
wChannels
=
wocW
.
wChannels
;
wocA
.
dwSupport
=
wocW
.
dwSupport
;
wocA
.
dwSupport
=
wocW
.
dwSupport
;
wocA
.
wReserved1
=
0
;
wocA
.
wReserved1
=
wocW
.
wReserved1
;
memcpy
(
lpCaps
,
&
wocA
,
min
(
uSize
,
sizeof
(
wocA
)));
memcpy
(
lpCaps
,
&
wocA
,
min
(
uSize
,
sizeof
(
wocA
)));
}
}
return
ret
;
return
ret
;
...
@@ -3355,7 +3355,7 @@ UINT WINAPI waveInGetDevCapsA(UINT_PTR uDeviceID, LPWAVEINCAPSA lpCaps, UINT uSi
...
@@ -3355,7 +3355,7 @@ UINT WINAPI waveInGetDevCapsA(UINT_PTR uDeviceID, LPWAVEINCAPSA lpCaps, UINT uSi
sizeof
(
wicA
.
szPname
),
NULL
,
NULL
);
sizeof
(
wicA
.
szPname
),
NULL
,
NULL
);
wicA
.
dwFormats
=
wicW
.
dwFormats
;
wicA
.
dwFormats
=
wicW
.
dwFormats
;
wicA
.
wChannels
=
wicW
.
wChannels
;
wicA
.
wChannels
=
wicW
.
wChannels
;
wicA
.
wReserved1
=
0
;
wicA
.
wReserved1
=
wicW
.
wReserved1
;
memcpy
(
lpCaps
,
&
wicA
,
min
(
uSize
,
sizeof
(
wicA
)));
memcpy
(
lpCaps
,
&
wicA
,
min
(
uSize
,
sizeof
(
wicA
)));
}
}
return
ret
;
return
ret
;
...
...
dlls/winmm/winmm.c
View file @
a360cc47
...
@@ -229,7 +229,7 @@ UINT WINAPI auxGetDevCapsA(UINT_PTR uDeviceID, LPAUXCAPSA lpCaps, UINT uSize)
...
@@ -229,7 +229,7 @@ UINT WINAPI auxGetDevCapsA(UINT_PTR uDeviceID, LPAUXCAPSA lpCaps, UINT uSize)
WideCharToMultiByte
(
CP_ACP
,
0
,
acW
.
szPname
,
-
1
,
acA
.
szPname
,
WideCharToMultiByte
(
CP_ACP
,
0
,
acW
.
szPname
,
-
1
,
acA
.
szPname
,
sizeof
(
acA
.
szPname
),
NULL
,
NULL
);
sizeof
(
acA
.
szPname
),
NULL
,
NULL
);
acA
.
wTechnology
=
acW
.
wTechnology
;
acA
.
wTechnology
=
acW
.
wTechnology
;
acA
.
wReserved1
=
0
;
acA
.
wReserved1
=
acW
.
wReserved1
;
acA
.
dwSupport
=
acW
.
dwSupport
;
acA
.
dwSupport
=
acW
.
dwSupport
;
memcpy
(
lpCaps
,
&
acA
,
min
(
uSize
,
sizeof
(
acA
)));
memcpy
(
lpCaps
,
&
acA
,
min
(
uSize
,
sizeof
(
acA
)));
}
}
...
...
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