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
60eb0d4b
Commit
60eb0d4b
authored
Oct 03, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32.drv: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
250e6d9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
wavemap.c
dlls/msacm32.drv/wavemap.c
+2
-5
No files found.
dlls/msacm32.drv/wavemap.c
View file @
60eb0d4b
...
...
@@ -493,8 +493,6 @@ static DWORD wodGetPosition(WAVEMAPDATA* wom, LPMMTIME lpTime, DWORD dwParam2)
static
DWORD
wodGetDevCaps
(
UINT
wDevID
,
WAVEMAPDATA
*
wom
,
LPWAVEOUTCAPSW
lpWaveCaps
,
DWORD
dwParam2
)
{
static
const
WCHAR
name
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'w'
,
'a'
,
'v'
,
'e'
,
' '
,
'o'
,
'u'
,
't'
,
' '
,
'm'
,
'a'
,
'p'
,
'p'
,
'e'
,
'r'
,
0
};
TRACE
(
"(%04x %p %p %08x)
\n
"
,
wDevID
,
wom
,
lpWaveCaps
,
dwParam2
);
/* if opened low driver, forward message */
...
...
@@ -511,7 +509,7 @@ static DWORD wodGetDevCaps(UINT wDevID, WAVEMAPDATA* wom, LPWAVEOUTCAPSW lpWaveC
woc
.
wMid
=
0x00FF
;
woc
.
wPid
=
0x0001
;
woc
.
vDriverVersion
=
0x0332
;
lstrcpyW
(
woc
.
szPname
,
name
);
lstrcpyW
(
woc
.
szPname
,
L"Wine wave out mapper"
);
woc
.
dwFormats
=
WAVE_FORMAT_96M08
|
WAVE_FORMAT_96S08
|
WAVE_FORMAT_96M16
|
WAVE_FORMAT_96S16
|
WAVE_FORMAT_48M08
|
WAVE_FORMAT_48S08
|
WAVE_FORMAT_48M16
|
WAVE_FORMAT_48S16
|
...
...
@@ -1063,11 +1061,10 @@ static DWORD widGetDevCaps(UINT wDevID, WAVEMAPDATA* wim, LPWAVEINCAPSW lpWaveCa
/* otherwise, return caps of mapper itself */
if
(
wDevID
==
(
UINT
)
-
1
||
wDevID
==
(
UINT16
)
-
1
)
{
WAVEINCAPSW
wic
;
static
const
WCHAR
init
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'w'
,
'a'
,
'v'
,
'e'
,
' '
,
'i'
,
'n'
,
' '
,
'm'
,
'a'
,
'p'
,
'p'
,
'e'
,
'r'
,
0
};
wic
.
wMid
=
0x00FF
;
wic
.
wPid
=
0x0001
;
wic
.
vDriverVersion
=
0x0001
;
lstrcpyW
(
wic
.
szPname
,
init
);
lstrcpyW
(
wic
.
szPname
,
L"Wine wave in mapper"
);
wic
.
dwFormats
=
WAVE_FORMAT_96M08
|
WAVE_FORMAT_96S08
|
WAVE_FORMAT_96M16
|
WAVE_FORMAT_96S16
|
WAVE_FORMAT_48M08
|
WAVE_FORMAT_48S08
|
WAVE_FORMAT_48M16
|
WAVE_FORMAT_48S16
|
...
...
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