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
93a55831
Commit
93a55831
authored
Oct 01, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msadp32.acm: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
586dbd1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
msadp32.c
dlls/msadp32.acm/msadp32.c
+2
-5
No files found.
dlls/msadp32.acm/msadp32.c
View file @
93a55831
...
...
@@ -404,9 +404,6 @@ static LRESULT ADPCM_DriverDetails(PACMDRIVERDETAILSW add)
*/
static
LRESULT
ADPCM_FormatTagDetails
(
PACMFORMATTAGDETAILSW
aftd
,
DWORD
dwQuery
)
{
static
const
WCHAR
szPcm
[]
=
{
'P'
,
'C'
,
'M'
,
0
};
static
const
WCHAR
szMsAdPcm
[]
=
{
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
' '
,
'A'
,
'D'
,
'P'
,
'C'
,
'M'
,
0
};
switch
(
dwQuery
)
{
case
ACM_FORMATTAGDETAILSF_INDEX
:
...
...
@@ -439,13 +436,13 @@ static LRESULT ADPCM_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
aftd
->
dwFormatTag
=
WAVE_FORMAT_PCM
;
aftd
->
cbFormatSize
=
sizeof
(
PCMWAVEFORMAT
);
aftd
->
cStandardFormats
=
ARRAY_SIZE
(
PCM_Formats
);
lstrcpyW
(
aftd
->
szFormatTag
,
szPcm
);
lstrcpyW
(
aftd
->
szFormatTag
,
L"PCM"
);
break
;
case
1
:
aftd
->
dwFormatTag
=
WAVE_FORMAT_ADPCM
;
aftd
->
cbFormatSize
=
sizeof
(
ADPCMWAVEFORMAT
)
+
(
7
-
1
)
*
sizeof
(
ADPCMCOEFSET
);
aftd
->
cStandardFormats
=
ARRAY_SIZE
(
ADPCM_Formats
);
lstrcpyW
(
aftd
->
szFormatTag
,
szMsAdPcm
);
lstrcpyW
(
aftd
->
szFormatTag
,
L"Microsoft ADPCM"
);
break
;
}
return
MMSYSERR_NOERROR
;
...
...
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