Commit 751c590d authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

l3codeca.acm: Enable compilation with long types.

parent a0625265
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = l3codeca.acm MODULE = l3codeca.acm
IMPORTS = $(MPG123_PE_LIBS) winmm user32 kernelbase IMPORTS = $(MPG123_PE_LIBS) winmm user32 kernelbase
EXTRAINCL = $(MPG123_PE_CFLAGS) EXTRAINCL = $(MPG123_PE_CFLAGS)
......
...@@ -292,7 +292,7 @@ static LRESULT MPEG3_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery) ...@@ -292,7 +292,7 @@ static LRESULT MPEG3_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
} }
break; break;
default: default:
WARN("Unsupported query %08x\n", dwQuery); WARN("Unsupported query %08lx\n", dwQuery);
return MMSYSERR_NOTSUPPORTED; return MMSYSERR_NOTSUPPORTED;
} }
...@@ -354,12 +354,12 @@ static LRESULT MPEG3_FormatDetails(PACMFORMATDETAILSW afd, DWORD dwQuery) ...@@ -354,12 +354,12 @@ static LRESULT MPEG3_FormatDetails(PACMFORMATDETAILSW afd, DWORD dwQuery)
WARN("Encoding to MPEG is not supported\n"); WARN("Encoding to MPEG is not supported\n");
return ACMERR_NOTPOSSIBLE; return ACMERR_NOTPOSSIBLE;
default: default:
WARN("Unsupported tag %08x\n", afd->dwFormatTag); WARN("Unsupported tag %08lx\n", afd->dwFormatTag);
return MMSYSERR_INVALPARAM; return MMSYSERR_INVALPARAM;
} }
break; break;
default: default:
WARN("Unsupported query %08x\n", dwQuery); WARN("Unsupported query %08lx\n", dwQuery);
return MMSYSERR_NOTSUPPORTED; return MMSYSERR_NOTSUPPORTED;
} }
afd->fdwSupport = ACMDRIVERDETAILS_SUPPORTF_CODEC; afd->fdwSupport = ACMDRIVERDETAILS_SUPPORTF_CODEC;
...@@ -488,7 +488,7 @@ static LRESULT MPEG3_StreamSize(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMSIZE ad ...@@ -488,7 +488,7 @@ static LRESULT MPEG3_StreamSize(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMSIZE ad
} }
break; break;
default: default:
WARN("Unsupported query %08x\n", adss->fdwSize); WARN("Unsupported query %08lx\n", adss->fdwSize);
return MMSYSERR_NOTSUPPORTED; return MMSYSERR_NOTSUPPORTED;
} }
return MMSYSERR_NOERROR; return MMSYSERR_NOERROR;
...@@ -509,7 +509,7 @@ static LRESULT MPEG3_StreamConvert(ACMDRVSTREAMINSTANCE *instance, ACMDRVSTREAMH ...@@ -509,7 +509,7 @@ static LRESULT MPEG3_StreamConvert(ACMDRVSTREAMINSTANCE *instance, ACMDRVSTREAMH
ACM_STREAMCONVERTF_END| ACM_STREAMCONVERTF_END|
ACM_STREAMCONVERTF_START)) ACM_STREAMCONVERTF_START))
{ {
FIXME("Unsupported fdwConvert (%08x), ignoring it\n", adsh->fdwConvert); FIXME("Unsupported fdwConvert (%08lx), ignoring it\n", adsh->fdwConvert);
} }
/* ACM_STREAMCONVERTF_BLOCKALIGN /* ACM_STREAMCONVERTF_BLOCKALIGN
* currently all conversions are block aligned, so do nothing for this flag * currently all conversions are block aligned, so do nothing for this flag
...@@ -536,7 +536,7 @@ static LRESULT MPEG3_StreamConvert(ACMDRVSTREAMINSTANCE *instance, ACMDRVSTREAMH ...@@ -536,7 +536,7 @@ static LRESULT MPEG3_StreamConvert(ACMDRVSTREAMINSTANCE *instance, ACMDRVSTREAMH
LRESULT CALLBACK MPEG3_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg, LRESULT CALLBACK MPEG3_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
LPARAM dwParam1, LPARAM dwParam2) LPARAM dwParam1, LPARAM dwParam2)
{ {
TRACE("(%08lx %p %04x %08lx %08lx);\n", TRACE("(%08Ix %p %04x %08Ix %08Ix);\n",
dwDevID, hDriv, wMsg, dwParam1, dwParam2); dwDevID, hDriv, wMsg, dwParam1, dwParam2);
switch (wMsg) switch (wMsg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment