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
d0819c7e
Commit
d0819c7e
authored
Feb 11, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imaadp32.acm: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
db73856e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
dlls/imaadp32.acm/Makefile.in
+0
-1
imaadp32.c
dlls/imaadp32.acm/imaadp32.c
+6
-6
No files found.
dlls/imaadp32.acm/Makefile.in
View file @
d0819c7e
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
imaadp32.acm
IMPORTS
=
winmm user32
...
...
dlls/imaadp32.acm/imaadp32.c
View file @
d0819c7e
...
...
@@ -569,7 +569,7 @@ static LRESULT ADPCM_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
}
break
;
default:
WARN
(
"Unsupported query %08x
\n
"
,
dwQuery
);
WARN
(
"Unsupported query %08
l
x
\n
"
,
dwQuery
);
return
MMSYSERR_NOTSUPPORTED
;
}
...
...
@@ -628,12 +628,12 @@ static LRESULT ADPCM_FormatDetails(PACMFORMATDETAILSW afd, DWORD dwQuery)
init_wfx_ima_adpcm
((
IMAADPCMWAVEFORMAT
*
)
afd
->
pwfx
);
break
;
default:
WARN
(
"Unsupported tag %08x
\n
"
,
afd
->
dwFormatTag
);
WARN
(
"Unsupported tag %08
l
x
\n
"
,
afd
->
dwFormatTag
);
return
MMSYSERR_INVALPARAM
;
}
break
;
default:
WARN
(
"Unsupported query %08x
\n
"
,
dwQuery
);
WARN
(
"Unsupported query %08
l
x
\n
"
,
dwQuery
);
return
MMSYSERR_NOTSUPPORTED
;
}
afd
->
fdwSupport
=
ACMDRIVERDETAILS_SUPPORTF_CODEC
;
...
...
@@ -877,7 +877,7 @@ static LRESULT ADPCM_StreamSize(const ACMDRVSTREAMINSTANCE *adsi, PACMDRVSTREAMS
}
break
;
default:
WARN
(
"Unsupported query %08x
\n
"
,
adss
->
fdwSize
);
WARN
(
"Unsupported query %08
l
x
\n
"
,
adss
->
fdwSize
);
return
MMSYSERR_NOTSUPPORTED
;
}
return
MMSYSERR_NOERROR
;
...
...
@@ -898,7 +898,7 @@ static LRESULT ADPCM_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEAD
ACM_STREAMCONVERTF_END
|
ACM_STREAMCONVERTF_START
))
{
FIXME
(
"Unsupported fdwConvert (%08x), ignoring it
\n
"
,
adsh
->
fdwConvert
);
FIXME
(
"Unsupported fdwConvert (%08
l
x), ignoring it
\n
"
,
adsh
->
fdwConvert
);
}
/* ACM_STREAMCONVERTF_BLOCKALIGN
* currently all conversions are block aligned, so do nothing for this flag
...
...
@@ -923,7 +923,7 @@ static LRESULT ADPCM_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEAD
LRESULT
CALLBACK
ADPCM_DriverProc
(
DWORD_PTR
dwDevID
,
HDRVR
hDriv
,
UINT
wMsg
,
LPARAM
dwParam1
,
LPARAM
dwParam2
)
{
TRACE
(
"(%08
lx %p %04x %08lx %08l
x);
\n
"
,
TRACE
(
"(%08
Ix %p %04x %08Ix %08I
x);
\n
"
,
dwDevID
,
hDriv
,
wMsg
,
dwParam1
,
dwParam2
);
switch
(
wMsg
)
...
...
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