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
aacc33ba
Commit
aacc33ba
authored
Oct 01, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imaadp32.acm: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cef48706
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
imaadp32.c
dlls/imaadp32.acm/imaadp32.c
+2
-5
No files found.
dlls/imaadp32.acm/imaadp32.c
View file @
aacc33ba
...
...
@@ -548,9 +548,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
szImaAdPcm
[]
=
{
'I'
,
'M'
,
'A'
,
' '
,
'A'
,
'D'
,
'P'
,
'C'
,
'M'
,
0
};
switch
(
dwQuery
)
{
case
ACM_FORMATTAGDETAILSF_INDEX
:
...
...
@@ -583,13 +580,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_IMA_ADPCM
;
aftd
->
cbFormatSize
=
sizeof
(
IMAADPCMWAVEFORMAT
);
aftd
->
cStandardFormats
=
ARRAY_SIZE
(
ADPCM_Formats
);
lstrcpyW
(
aftd
->
szFormatTag
,
szImaAdPcm
);
lstrcpyW
(
aftd
->
szFormatTag
,
L"IMA 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