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
0290eb1f
Commit
0290eb1f
authored
Oct 12, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32: Win64 printf format warning fixes.
parent
a4253ba0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
96 additions
and
97 deletions
+96
-97
Makefile.in
dlls/msacm32/Makefile.in
+0
-1
driver.c
dlls/msacm32/driver.c
+11
-11
filter.c
dlls/msacm32/filter.c
+6
-6
format.c
dlls/msacm32/format.c
+9
-9
internal.c
dlls/msacm32/internal.c
+7
-7
msacm32_main.c
dlls/msacm32/msacm32_main.c
+2
-2
msacm_main.c
dlls/msacm32/msacm_main.c
+24
-24
pcmconverter.c
dlls/msacm32/pcmconverter.c
+27
-27
stream.c
dlls/msacm32/stream.c
+10
-10
No files found.
dlls/msacm32/Makefile.in
View file @
0290eb1f
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE
=
msacm32.dll
MODULE
=
msacm32.dll
IMPORTLIB
=
libmsacm32.
$(IMPLIBEXT)
IMPORTLIB
=
libmsacm32.
$(IMPLIBEXT)
IMPORTS
=
winmm user32 advapi32 kernel32
IMPORTS
=
winmm user32 advapi32 kernel32
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
\
C_SRCS
=
\
driver.c
\
driver.c
\
...
...
dlls/msacm32/driver.c
View file @
0290eb1f
...
@@ -54,7 +54,7 @@ MMRESULT WINAPI acmDriverAddA(PHACMDRIVERID phadid, HINSTANCE hinstModule,
...
@@ -54,7 +54,7 @@ MMRESULT WINAPI acmDriverAddA(PHACMDRIVERID phadid, HINSTANCE hinstModule,
WCHAR
*
driverW
=
NULL
;
WCHAR
*
driverW
=
NULL
;
LPARAM
lParamW
=
lParam
;
LPARAM
lParamW
=
lParam
;
TRACE
(
"(%p, %p, %08lx, %08
lx, %08l
x)
\n
"
,
TRACE
(
"(%p, %p, %08lx, %08
x, %08
x)
\n
"
,
phadid
,
hinstModule
,
lParam
,
dwPriority
,
fdwAdd
);
phadid
,
hinstModule
,
lParam
,
dwPriority
,
fdwAdd
);
if
(
!
phadid
)
{
if
(
!
phadid
)
{
...
@@ -103,7 +103,7 @@ MMRESULT WINAPI acmDriverAddW(PHACMDRIVERID phadid, HINSTANCE hinstModule,
...
@@ -103,7 +103,7 @@ MMRESULT WINAPI acmDriverAddW(PHACMDRIVERID phadid, HINSTANCE hinstModule,
{
{
PWINE_ACMLOCALDRIVER
pLocalDrv
=
NULL
;
PWINE_ACMLOCALDRIVER
pLocalDrv
=
NULL
;
TRACE
(
"(%p, %p, %08lx, %08
lx, %08l
x)
\n
"
,
TRACE
(
"(%p, %p, %08lx, %08
x, %08
x)
\n
"
,
phadid
,
hinstModule
,
lParam
,
dwPriority
,
fdwAdd
);
phadid
,
hinstModule
,
lParam
,
dwPriority
,
fdwAdd
);
if
(
!
phadid
)
{
if
(
!
phadid
)
{
...
@@ -187,7 +187,7 @@ MMRESULT WINAPI acmDriverClose(HACMDRIVER had, DWORD fdwClose)
...
@@ -187,7 +187,7 @@ MMRESULT WINAPI acmDriverClose(HACMDRIVER had, DWORD fdwClose)
PWINE_ACMDRIVERID
padid
;
PWINE_ACMDRIVERID
padid
;
PWINE_ACMDRIVER
*
tpad
;
PWINE_ACMDRIVER
*
tpad
;
TRACE
(
"(%p, %08
l
x)
\n
"
,
had
,
fdwClose
);
TRACE
(
"(%p, %08x)
\n
"
,
had
,
fdwClose
);
if
(
fdwClose
)
{
if
(
fdwClose
)
{
WARN
(
"invalid flag
\n
"
);
WARN
(
"invalid flag
\n
"
);
...
@@ -229,7 +229,7 @@ MMRESULT WINAPI acmDriverDetailsA(HACMDRIVERID hadid, PACMDRIVERDETAILSA padd, D
...
@@ -229,7 +229,7 @@ MMRESULT WINAPI acmDriverDetailsA(HACMDRIVERID hadid, PACMDRIVERDETAILSA padd, D
MMRESULT
mmr
;
MMRESULT
mmr
;
ACMDRIVERDETAILSW
addw
;
ACMDRIVERDETAILSW
addw
;
TRACE
(
"(%p, %p, %08
l
x)
\n
"
,
hadid
,
padd
,
fdwDetails
);
TRACE
(
"(%p, %p, %08x)
\n
"
,
hadid
,
padd
,
fdwDetails
);
if
(
!
padd
)
{
if
(
!
padd
)
{
WARN
(
"invalid parameter
\n
"
);
WARN
(
"invalid parameter
\n
"
);
...
@@ -280,7 +280,7 @@ MMRESULT WINAPI acmDriverDetailsW(HACMDRIVERID hadid, PACMDRIVERDETAILSW padd, D
...
@@ -280,7 +280,7 @@ MMRESULT WINAPI acmDriverDetailsW(HACMDRIVERID hadid, PACMDRIVERDETAILSW padd, D
HACMDRIVER
acmDrvr
;
HACMDRIVER
acmDrvr
;
MMRESULT
mmr
;
MMRESULT
mmr
;
TRACE
(
"(%p, %p, %08
l
x)
\n
"
,
hadid
,
padd
,
fdwDetails
);
TRACE
(
"(%p, %p, %08x)
\n
"
,
hadid
,
padd
,
fdwDetails
);
if
(
!
padd
)
{
if
(
!
padd
)
{
WARN
(
"invalid parameter
\n
"
);
WARN
(
"invalid parameter
\n
"
);
...
@@ -319,7 +319,7 @@ MMRESULT WINAPI acmDriverEnum(ACMDRIVERENUMCB fnCallback, DWORD dwInstance, DWOR
...
@@ -319,7 +319,7 @@ MMRESULT WINAPI acmDriverEnum(ACMDRIVERENUMCB fnCallback, DWORD dwInstance, DWOR
PWINE_ACMDRIVERID
padid
;
PWINE_ACMDRIVERID
padid
;
DWORD
fdwSupport
;
DWORD
fdwSupport
;
TRACE
(
"(%p, %08
lx, %08l
x)
\n
"
,
fnCallback
,
dwInstance
,
fdwEnum
);
TRACE
(
"(%p, %08
x, %08
x)
\n
"
,
fnCallback
,
dwInstance
,
fdwEnum
);
if
(
!
fnCallback
)
{
if
(
!
fnCallback
)
{
WARN
(
"invalid parameter
\n
"
);
WARN
(
"invalid parameter
\n
"
);
...
@@ -354,7 +354,7 @@ MMRESULT WINAPI acmDriverID(HACMOBJ hao, PHACMDRIVERID phadid, DWORD fdwDriverID
...
@@ -354,7 +354,7 @@ MMRESULT WINAPI acmDriverID(HACMOBJ hao, PHACMDRIVERID phadid, DWORD fdwDriverID
{
{
PWINE_ACMOBJ
pao
;
PWINE_ACMOBJ
pao
;
TRACE
(
"(%p, %p, %08
l
x)
\n
"
,
hao
,
phadid
,
fdwDriverID
);
TRACE
(
"(%p, %p, %08x)
\n
"
,
hao
,
phadid
,
fdwDriverID
);
if
(
fdwDriverID
)
{
if
(
fdwDriverID
)
{
WARN
(
"invalid flag
\n
"
);
WARN
(
"invalid flag
\n
"
);
...
@@ -490,7 +490,7 @@ MMRESULT WINAPI acmDriverOpen(PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpe
...
@@ -490,7 +490,7 @@ MMRESULT WINAPI acmDriverOpen(PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpe
PWINE_ACMDRIVER
pad
=
NULL
;
PWINE_ACMDRIVER
pad
=
NULL
;
MMRESULT
ret
;
MMRESULT
ret
;
TRACE
(
"(%p, %p, %08
l
u)
\n
"
,
phad
,
hadid
,
fdwOpen
);
TRACE
(
"(%p, %p, %08u)
\n
"
,
phad
,
hadid
,
fdwOpen
);
if
(
!
phad
)
{
if
(
!
phad
)
{
WARN
(
"invalid parameter
\n
"
);
WARN
(
"invalid parameter
\n
"
);
...
@@ -598,7 +598,7 @@ MMRESULT WINAPI acmDriverOpen(PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpe
...
@@ -598,7 +598,7 @@ MMRESULT WINAPI acmDriverOpen(PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpe
MMRESULT
WINAPI
acmDriverPriority
(
HACMDRIVERID
hadid
,
DWORD
dwPriority
,
DWORD
fdwPriority
)
MMRESULT
WINAPI
acmDriverPriority
(
HACMDRIVERID
hadid
,
DWORD
dwPriority
,
DWORD
fdwPriority
)
{
{
TRACE
(
"(%p, %08
lx, %08l
x)
\n
"
,
hadid
,
dwPriority
,
fdwPriority
);
TRACE
(
"(%p, %08
x, %08
x)
\n
"
,
hadid
,
dwPriority
,
fdwPriority
);
/* Check for unknown flags */
/* Check for unknown flags */
if
(
fdwPriority
&
if
(
fdwPriority
&
...
@@ -672,7 +672,7 @@ MMRESULT WINAPI acmDriverPriority(HACMDRIVERID hadid, DWORD dwPriority, DWORD fd
...
@@ -672,7 +672,7 @@ MMRESULT WINAPI acmDriverPriority(HACMDRIVERID hadid, DWORD dwPriority, DWORD fd
return
MMSYSERR_NOTSUPPORTED
;
return
MMSYSERR_NOTSUPPORTED
;
}
}
if
(
dwPriority
!=
1
&&
dwPriority
!=
(
DWORD
)
-
1
)
{
if
(
dwPriority
!=
1
&&
dwPriority
!=
(
DWORD
)
-
1
)
{
FIXME
(
"unexpected priority %
l
d, using sign only
\n
"
,
dwPriority
);
FIXME
(
"unexpected priority %d, using sign only
\n
"
,
dwPriority
);
if
((
signed
)
dwPriority
<
0
)
dwPriority
=
(
DWORD
)
-
1
;
if
((
signed
)
dwPriority
<
0
)
dwPriority
=
(
DWORD
)
-
1
;
if
(
dwPriority
>
0
)
dwPriority
=
1
;
if
(
dwPriority
>
0
)
dwPriority
=
1
;
}
}
...
@@ -739,7 +739,7 @@ MMRESULT WINAPI acmDriverRemove(HACMDRIVERID hadid, DWORD fdwRemove)
...
@@ -739,7 +739,7 @@ MMRESULT WINAPI acmDriverRemove(HACMDRIVERID hadid, DWORD fdwRemove)
PWINE_ACMDRIVERID
padid
;
PWINE_ACMDRIVERID
padid
;
PWINE_ACMNOTIFYWND
panwnd
;
PWINE_ACMNOTIFYWND
panwnd
;
TRACE
(
"(%p, %08
l
x)
\n
"
,
hadid
,
fdwRemove
);
TRACE
(
"(%p, %08x)
\n
"
,
hadid
,
fdwRemove
);
padid
=
MSACM_GetDriverID
(
hadid
);
padid
=
MSACM_GetDriverID
(
hadid
);
panwnd
=
MSACM_GetNotifyWnd
(
hadid
);
panwnd
=
MSACM_GetNotifyWnd
(
hadid
);
...
...
dlls/msacm32/filter.c
View file @
0290eb1f
...
@@ -91,7 +91,7 @@ MMRESULT WINAPI acmFilterDetailsW(HACMDRIVER had, PACMFILTERDETAILSW pafd,
...
@@ -91,7 +91,7 @@ MMRESULT WINAPI acmFilterDetailsW(HACMDRIVER had, PACMFILTERDETAILSW pafd,
MMRESULT
mmr
;
MMRESULT
mmr
;
ACMFILTERTAGDETAILSA
aftd
;
ACMFILTERTAGDETAILSA
aftd
;
TRACE
(
"(%p, %p, %
l
d)
\n
"
,
had
,
pafd
,
fdwDetails
);
TRACE
(
"(%p, %p, %d)
\n
"
,
had
,
pafd
,
fdwDetails
);
memset
(
&
aftd
,
0
,
sizeof
(
aftd
));
memset
(
&
aftd
,
0
,
sizeof
(
aftd
));
aftd
.
cbStruct
=
sizeof
(
aftd
);
aftd
.
cbStruct
=
sizeof
(
aftd
);
...
@@ -127,7 +127,7 @@ MMRESULT WINAPI acmFilterDetailsW(HACMDRIVER had, PACMFILTERDETAILSW pafd,
...
@@ -127,7 +127,7 @@ MMRESULT WINAPI acmFilterDetailsW(HACMDRIVER had, PACMFILTERDETAILSW pafd,
mmr
=
MSACM_Message
(
had
,
ACMDM_FILTER_DETAILS
,
(
LPARAM
)
pafd
,
fdwDetails
);
mmr
=
MSACM_Message
(
had
,
ACMDM_FILTER_DETAILS
,
(
LPARAM
)
pafd
,
fdwDetails
);
break
;
break
;
default:
default:
WARN
(
"Unknown fdwDetails %08
l
x
\n
"
,
fdwDetails
);
WARN
(
"Unknown fdwDetails %08x
\n
"
,
fdwDetails
);
mmr
=
MMSYSERR_INVALFLAG
;
mmr
=
MMSYSERR_INVALFLAG
;
break
;
break
;
}
}
...
@@ -228,7 +228,7 @@ MMRESULT WINAPI acmFilterEnumW(HACMDRIVER had, PACMFILTERDETAILSW pafd,
...
@@ -228,7 +228,7 @@ MMRESULT WINAPI acmFilterEnumW(HACMDRIVER had, PACMFILTERDETAILSW pafd,
PWINE_ACMDRIVERID
padid
;
PWINE_ACMDRIVERID
padid
;
BOOL
ret
;
BOOL
ret
;
TRACE
(
"(%p, %p, %p, %
ld, %l
d)
\n
"
,
TRACE
(
"(%p, %p, %p, %
d, %
d)
\n
"
,
had
,
pafd
,
fnCallback
,
dwInstance
,
fdwEnum
);
had
,
pafd
,
fnCallback
,
dwInstance
,
fdwEnum
);
if
(
pafd
->
cbStruct
<
sizeof
(
*
pafd
))
return
MMSYSERR_INVALPARAM
;
if
(
pafd
->
cbStruct
<
sizeof
(
*
pafd
))
return
MMSYSERR_INVALPARAM
;
...
@@ -294,7 +294,7 @@ MMRESULT WINAPI acmFilterTagDetailsW(HACMDRIVER had, PACMFILTERTAGDETAILSW paftd
...
@@ -294,7 +294,7 @@ MMRESULT WINAPI acmFilterTagDetailsW(HACMDRIVER had, PACMFILTERTAGDETAILSW paftd
PWINE_ACMDRIVERID
padid
;
PWINE_ACMDRIVERID
padid
;
MMRESULT
mmr
;
MMRESULT
mmr
;
TRACE
(
"(%p, %p, %
l
d)
\n
"
,
had
,
paftd
,
fdwDetails
);
TRACE
(
"(%p, %p, %d)
\n
"
,
had
,
paftd
,
fdwDetails
);
if
(
fdwDetails
&
~
(
ACM_FILTERTAGDETAILSF_FILTERTAG
|
ACM_FILTERTAGDETAILSF_INDEX
|
if
(
fdwDetails
&
~
(
ACM_FILTERTAGDETAILSF_FILTERTAG
|
ACM_FILTERTAGDETAILSF_INDEX
|
ACM_FILTERTAGDETAILSF_LARGESTSIZE
))
ACM_FILTERTAGDETAILSF_LARGESTSIZE
))
...
@@ -355,7 +355,7 @@ MMRESULT WINAPI acmFilterTagDetailsW(HACMDRIVER had, PACMFILTERTAGDETAILSW paftd
...
@@ -355,7 +355,7 @@ MMRESULT WINAPI acmFilterTagDetailsW(HACMDRIVER had, PACMFILTERTAGDETAILSW paftd
break
;
break
;
default:
default:
WARN
(
"Unsupported fdwDetails=%08
l
x
\n
"
,
fdwDetails
);
WARN
(
"Unsupported fdwDetails=%08x
\n
"
,
fdwDetails
);
mmr
=
MMSYSERR_ERROR
;
mmr
=
MMSYSERR_ERROR
;
}
}
...
@@ -427,7 +427,7 @@ MMRESULT WINAPI acmFilterTagEnumW(HACMDRIVER had, PACMFILTERTAGDETAILSW paftd,
...
@@ -427,7 +427,7 @@ MMRESULT WINAPI acmFilterTagEnumW(HACMDRIVER had, PACMFILTERTAGDETAILSW paftd,
PWINE_ACMDRIVERID
padid
;
PWINE_ACMDRIVERID
padid
;
unsigned
int
i
;
unsigned
int
i
;
TRACE
(
"(%p, %p, %p, %
ld, %l
d)
\n
"
,
TRACE
(
"(%p, %p, %p, %
d, %
d)
\n
"
,
had
,
paftd
,
fnCallback
,
dwInstance
,
fdwEnum
);
had
,
paftd
,
fnCallback
,
dwInstance
,
fdwEnum
);
if
(
paftd
->
cbStruct
<
sizeof
(
*
paftd
))
return
MMSYSERR_INVALPARAM
;
if
(
paftd
->
cbStruct
<
sizeof
(
*
paftd
))
return
MMSYSERR_INVALPARAM
;
...
...
dlls/msacm32/format.c
View file @
0290eb1f
...
@@ -207,7 +207,7 @@ static INT_PTR CALLBACK FormatChooseDlgProc(HWND hWnd, UINT msg,
...
@@ -207,7 +207,7 @@ static INT_PTR CALLBACK FormatChooseDlgProc(HWND hWnd, UINT msg,
MSACM_FillFormat
(
hWnd
);
MSACM_FillFormat
(
hWnd
);
if
((
afc
->
fdwStyle
&
~
(
ACMFORMATCHOOSE_STYLEF_CONTEXTHELP
|
if
((
afc
->
fdwStyle
&
~
(
ACMFORMATCHOOSE_STYLEF_CONTEXTHELP
|
ACMFORMATCHOOSE_STYLEF_SHOWHELP
))
!=
0
)
ACMFORMATCHOOSE_STYLEF_SHOWHELP
))
!=
0
)
FIXME
(
"Unsupported style %08l
x
\n
"
,
((
PACMFORMATCHOOSEA
)
lParam
)
->
fdwStyle
);
FIXME
(
"Unsupported style %08
x
\n
"
,
((
PACMFORMATCHOOSEA
)
lParam
)
->
fdwStyle
);
if
(
!
(
afc
->
fdwStyle
&
ACMFORMATCHOOSE_STYLEF_SHOWHELP
))
if
(
!
(
afc
->
fdwStyle
&
ACMFORMATCHOOSE_STYLEF_SHOWHELP
))
ShowWindow
(
GetDlgItem
(
hWnd
,
IDD_ACMFORMATCHOOSE_BTN_HELP
),
SW_HIDE
);
ShowWindow
(
GetDlgItem
(
hWnd
,
IDD_ACMFORMATCHOOSE_BTN_HELP
),
SW_HIDE
);
return
TRUE
;
return
TRUE
;
...
@@ -320,7 +320,7 @@ MMRESULT WINAPI acmFormatDetailsW(HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD
...
@@ -320,7 +320,7 @@ MMRESULT WINAPI acmFormatDetailsW(HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD
static
const
WCHAR
fmt2
[]
=
{
';'
,
' '
,
'%'
,
'd'
,
' '
,
'b'
,
'i'
,
't'
,
's'
,
0
};
static
const
WCHAR
fmt2
[]
=
{
';'
,
' '
,
'%'
,
'd'
,
' '
,
'b'
,
'i'
,
't'
,
's'
,
0
};
ACMFORMATTAGDETAILSA
aftd
;
ACMFORMATTAGDETAILSA
aftd
;
TRACE
(
"(%p, %p, %
l
d)
\n
"
,
had
,
pafd
,
fdwDetails
);
TRACE
(
"(%p, %p, %d)
\n
"
,
had
,
pafd
,
fdwDetails
);
memset
(
&
aftd
,
0
,
sizeof
(
aftd
));
memset
(
&
aftd
,
0
,
sizeof
(
aftd
));
aftd
.
cbStruct
=
sizeof
(
aftd
);
aftd
.
cbStruct
=
sizeof
(
aftd
);
...
@@ -355,7 +355,7 @@ MMRESULT WINAPI acmFormatDetailsW(HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD
...
@@ -355,7 +355,7 @@ MMRESULT WINAPI acmFormatDetailsW(HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD
mmr
=
MSACM_Message
(
had
,
ACMDM_FORMAT_DETAILS
,
(
LPARAM
)
pafd
,
fdwDetails
);
mmr
=
MSACM_Message
(
had
,
ACMDM_FORMAT_DETAILS
,
(
LPARAM
)
pafd
,
fdwDetails
);
break
;
break
;
default:
default:
WARN
(
"Unknown fdwDetails %08
l
x
\n
"
,
fdwDetails
);
WARN
(
"Unknown fdwDetails %08x
\n
"
,
fdwDetails
);
mmr
=
MMSYSERR_INVALFLAG
;
mmr
=
MMSYSERR_INVALFLAG
;
break
;
break
;
}
}
...
@@ -491,7 +491,7 @@ MMRESULT WINAPI acmFormatEnumW(HACMDRIVER had, PACMFORMATDETAILSW pafd,
...
@@ -491,7 +491,7 @@ MMRESULT WINAPI acmFormatEnumW(HACMDRIVER had, PACMFORMATDETAILSW pafd,
WAVEFORMATEX
wfxRef
;
WAVEFORMATEX
wfxRef
;
BOOL
ret
;
BOOL
ret
;
TRACE
(
"(%p, %p, %p, %
ld, %l
d)
\n
"
,
TRACE
(
"(%p, %p, %p, %
d, %
d)
\n
"
,
had
,
pafd
,
fnCallback
,
dwInstance
,
fdwEnum
);
had
,
pafd
,
fnCallback
,
dwInstance
,
fdwEnum
);
if
(
!
pafd
)
if
(
!
pafd
)
...
@@ -515,7 +515,7 @@ MMRESULT WINAPI acmFormatEnumW(HACMDRIVER had, PACMFORMATDETAILSW pafd,
...
@@ -515,7 +515,7 @@ MMRESULT WINAPI acmFormatEnumW(HACMDRIVER had, PACMFORMATDETAILSW pafd,
if
(
fdwEnum
&
(
ACM_FORMATENUMF_CONVERT
|
ACM_FORMATENUMF_SUGGEST
|
if
(
fdwEnum
&
(
ACM_FORMATENUMF_CONVERT
|
ACM_FORMATENUMF_SUGGEST
|
ACM_FORMATENUMF_INPUT
|
ACM_FORMATENUMF_OUTPUT
))
ACM_FORMATENUMF_INPUT
|
ACM_FORMATENUMF_OUTPUT
))
FIXME
(
"Unsupported fdwEnum values %08
l
x
\n
"
,
fdwEnum
);
FIXME
(
"Unsupported fdwEnum values %08x
\n
"
,
fdwEnum
);
if
(
had
)
{
if
(
had
)
{
HACMDRIVERID
hadid
;
HACMDRIVERID
hadid
;
...
@@ -548,7 +548,7 @@ MMRESULT WINAPI acmFormatSuggest(HACMDRIVER had, PWAVEFORMATEX pwfxSrc,
...
@@ -548,7 +548,7 @@ MMRESULT WINAPI acmFormatSuggest(HACMDRIVER had, PWAVEFORMATEX pwfxSrc,
ACMDRVFORMATSUGGEST
adfg
;
ACMDRVFORMATSUGGEST
adfg
;
MMRESULT
mmr
;
MMRESULT
mmr
;
TRACE
(
"(%p, %p, %p, %
ld, %l
d)
\n
"
,
TRACE
(
"(%p, %p, %p, %
d, %
d)
\n
"
,
had
,
pwfxSrc
,
pwfxDst
,
cbwfxDst
,
fdwSuggest
);
had
,
pwfxSrc
,
pwfxDst
,
cbwfxDst
,
fdwSuggest
);
if
(
fdwSuggest
&
~
(
ACM_FORMATSUGGESTF_NCHANNELS
|
ACM_FORMATSUGGESTF_NSAMPLESPERSEC
|
if
(
fdwSuggest
&
~
(
ACM_FORMATSUGGESTF_NCHANNELS
|
ACM_FORMATSUGGESTF_NSAMPLESPERSEC
|
...
@@ -624,7 +624,7 @@ MMRESULT WINAPI acmFormatTagDetailsW(HACMDRIVER had, PACMFORMATTAGDETAILSW paftd
...
@@ -624,7 +624,7 @@ MMRESULT WINAPI acmFormatTagDetailsW(HACMDRIVER had, PACMFORMATTAGDETAILSW paftd
PWINE_ACMDRIVERID
padid
;
PWINE_ACMDRIVERID
padid
;
MMRESULT
mmr
=
ACMERR_NOTPOSSIBLE
;
MMRESULT
mmr
=
ACMERR_NOTPOSSIBLE
;
TRACE
(
"(%p, %p, %
l
d)
\n
"
,
had
,
paftd
,
fdwDetails
);
TRACE
(
"(%p, %p, %d)
\n
"
,
had
,
paftd
,
fdwDetails
);
if
(
fdwDetails
&
~
(
ACM_FORMATTAGDETAILSF_FORMATTAG
|
ACM_FORMATTAGDETAILSF_INDEX
|
if
(
fdwDetails
&
~
(
ACM_FORMATTAGDETAILSF_FORMATTAG
|
ACM_FORMATTAGDETAILSF_INDEX
|
ACM_FORMATTAGDETAILSF_LARGESTSIZE
))
ACM_FORMATTAGDETAILSF_LARGESTSIZE
))
...
@@ -691,7 +691,7 @@ MMRESULT WINAPI acmFormatTagDetailsW(HACMDRIVER had, PACMFORMATTAGDETAILSW paftd
...
@@ -691,7 +691,7 @@ MMRESULT WINAPI acmFormatTagDetailsW(HACMDRIVER had, PACMFORMATTAGDETAILSW paftd
break
;
break
;
default:
default:
WARN
(
"Unsupported fdwDetails=%08
l
x
\n
"
,
fdwDetails
);
WARN
(
"Unsupported fdwDetails=%08x
\n
"
,
fdwDetails
);
mmr
=
MMSYSERR_ERROR
;
mmr
=
MMSYSERR_ERROR
;
}
}
...
@@ -773,7 +773,7 @@ MMRESULT WINAPI acmFormatTagEnumW(HACMDRIVER had, PACMFORMATTAGDETAILSW paftd,
...
@@ -773,7 +773,7 @@ MMRESULT WINAPI acmFormatTagEnumW(HACMDRIVER had, PACMFORMATTAGDETAILSW paftd,
unsigned
int
i
;
unsigned
int
i
;
BOOL
bPcmDone
=
FALSE
;
BOOL
bPcmDone
=
FALSE
;
TRACE
(
"(%p, %p, %p, %
ld, %l
d)
\n
"
,
TRACE
(
"(%p, %p, %p, %
d, %
d)
\n
"
,
had
,
paftd
,
fnCallback
,
dwInstance
,
fdwEnum
);
had
,
paftd
,
fnCallback
,
dwInstance
,
fdwEnum
);
if
(
!
paftd
)
if
(
!
paftd
)
...
...
dlls/msacm32/internal.c
View file @
0290eb1f
...
@@ -75,12 +75,12 @@ PWINE_ACMDRIVERID MSACM_RegisterDriverFromRegistry(LPCWSTR pszRegEntry)
...
@@ -75,12 +75,12 @@ PWINE_ACMDRIVERID MSACM_RegisterDriverFromRegistry(LPCWSTR pszRegEntry)
if
(
0
==
strncmpiW
(
buf
,
msacmW
,
sizeof
(
msacmW
)
/
sizeof
(
WCHAR
)))
{
if
(
0
==
strncmpiW
(
buf
,
msacmW
,
sizeof
(
msacmW
)
/
sizeof
(
WCHAR
)))
{
lRet
=
RegOpenKeyExW
(
HKEY_LOCAL_MACHINE
,
drvkey
,
0
,
KEY_QUERY_VALUE
,
&
hKey
);
lRet
=
RegOpenKeyExW
(
HKEY_LOCAL_MACHINE
,
drvkey
,
0
,
KEY_QUERY_VALUE
,
&
hKey
);
if
(
lRet
!=
ERROR_SUCCESS
)
{
if
(
lRet
!=
ERROR_SUCCESS
)
{
WARN
(
"unable to open registry key - 0x%08
l
x
\n
"
,
lRet
);
WARN
(
"unable to open registry key - 0x%08x
\n
"
,
lRet
);
}
else
{
}
else
{
bufLen
=
sizeof
(
buf
);
bufLen
=
sizeof
(
buf
);
lRet
=
RegQueryValueExW
(
hKey
,
pszRegEntry
,
NULL
,
NULL
,
(
LPBYTE
)
buf
,
&
bufLen
);
lRet
=
RegQueryValueExW
(
hKey
,
pszRegEntry
,
NULL
,
NULL
,
(
LPBYTE
)
buf
,
&
bufLen
);
if
(
lRet
!=
ERROR_SUCCESS
)
{
if
(
lRet
!=
ERROR_SUCCESS
)
{
WARN
(
"unable to query requested subkey %s - 0x%08
l
x
\n
"
,
debugstr_w
(
pszRegEntry
),
lRet
);
WARN
(
"unable to query requested subkey %s - 0x%08x
\n
"
,
debugstr_w
(
pszRegEntry
),
lRet
);
}
else
{
}
else
{
MSACM_RegisterDriver
(
pszRegEntry
,
buf
,
0
);
MSACM_RegisterDriver
(
pszRegEntry
,
buf
,
0
);
}
}
...
@@ -395,7 +395,7 @@ PWINE_ACMNOTIFYWND MSACM_RegisterNotificationWindow(HWND hNotifyWnd, DWORD dwNot
...
@@ -395,7 +395,7 @@ PWINE_ACMNOTIFYWND MSACM_RegisterNotificationWindow(HWND hNotifyWnd, DWORD dwNot
{
{
PWINE_ACMNOTIFYWND
panwnd
;
PWINE_ACMNOTIFYWND
panwnd
;
TRACE
(
"(%p,0x%08
l
x)
\n
"
,
hNotifyWnd
,
dwNotifyMsg
);
TRACE
(
"(%p,0x%08x)
\n
"
,
hNotifyWnd
,
dwNotifyMsg
);
panwnd
=
HeapAlloc
(
MSACM_hHeap
,
0
,
sizeof
(
WINE_ACMNOTIFYWND
));
panwnd
=
HeapAlloc
(
MSACM_hHeap
,
0
,
sizeof
(
WINE_ACMNOTIFYWND
));
panwnd
->
obj
.
dwType
=
WINE_ACMOBJ_NOTIFYWND
;
panwnd
->
obj
.
dwType
=
WINE_ACMOBJ_NOTIFYWND
;
...
@@ -665,13 +665,13 @@ void MSACM_WriteCurrentPriorities(void)
...
@@ -665,13 +665,13 @@ void MSACM_WriteCurrentPriorities(void)
/* Delete ACM priority key and create it anew */
/* Delete ACM priority key and create it anew */
lError
=
RegDeleteKeyW
(
HKEY_CURRENT_USER
,
basePriorityKey
);
lError
=
RegDeleteKeyW
(
HKEY_CURRENT_USER
,
basePriorityKey
);
if
(
lError
!=
ERROR_SUCCESS
&&
lError
!=
ERROR_FILE_NOT_FOUND
)
{
if
(
lError
!=
ERROR_SUCCESS
&&
lError
!=
ERROR_FILE_NOT_FOUND
)
{
ERR
(
"unable to remove current key %s (0x%08
l
x) - priority changes won't persist past application end.
\n
"
,
ERR
(
"unable to remove current key %s (0x%08x) - priority changes won't persist past application end.
\n
"
,
debugstr_w
(
basePriorityKey
),
lError
);
debugstr_w
(
basePriorityKey
),
lError
);
return
;
return
;
}
}
lError
=
RegCreateKeyW
(
HKEY_CURRENT_USER
,
basePriorityKey
,
&
hPriorityKey
);
lError
=
RegCreateKeyW
(
HKEY_CURRENT_USER
,
basePriorityKey
,
&
hPriorityKey
);
if
(
lError
!=
ERROR_SUCCESS
)
{
if
(
lError
!=
ERROR_SUCCESS
)
{
ERR
(
"unable to create key %s (0x%08
l
x) - priority changes won't persist past application end.
\n
"
,
ERR
(
"unable to create key %s (0x%08x) - priority changes won't persist past application end.
\n
"
,
debugstr_w
(
basePriorityKey
),
lError
);
debugstr_w
(
basePriorityKey
),
lError
);
return
;
return
;
}
}
...
@@ -691,7 +691,7 @@ void MSACM_WriteCurrentPriorities(void)
...
@@ -691,7 +691,7 @@ void MSACM_WriteCurrentPriorities(void)
lError
=
RegSetValueExW
(
hPriorityKey
,
szSubKey
,
0
,
REG_SZ
,
(
BYTE
*
)
szBuffer
,
(
strlenW
(
szBuffer
)
+
1
)
*
sizeof
(
WCHAR
));
lError
=
RegSetValueExW
(
hPriorityKey
,
szSubKey
,
0
,
REG_SZ
,
(
BYTE
*
)
szBuffer
,
(
strlenW
(
szBuffer
)
+
1
)
*
sizeof
(
WCHAR
));
if
(
lError
!=
ERROR_SUCCESS
)
{
if
(
lError
!=
ERROR_SUCCESS
)
{
ERR
(
"unable to write value for %s under key %s (0x%08
l
x)
\n
"
,
ERR
(
"unable to write value for %s under key %s (0x%08x)
\n
"
,
debugstr_w
(
padid
->
pszDriverAlias
),
debugstr_w
(
basePriorityKey
),
lError
);
debugstr_w
(
padid
->
pszDriverAlias
),
debugstr_w
(
basePriorityKey
),
lError
);
}
}
}
}
...
@@ -705,7 +705,7 @@ void MSACM_WriteCurrentPriorities(void)
...
@@ -705,7 +705,7 @@ void MSACM_WriteCurrentPriorities(void)
lError
=
RegSetValueExW
(
hPriorityKey
,
szSubKey
,
0
,
REG_SZ
,
(
BYTE
*
)
szBuffer
,
(
strlenW
(
szBuffer
)
+
1
)
*
sizeof
(
WCHAR
));
lError
=
RegSetValueExW
(
hPriorityKey
,
szSubKey
,
0
,
REG_SZ
,
(
BYTE
*
)
szBuffer
,
(
strlenW
(
szBuffer
)
+
1
)
*
sizeof
(
WCHAR
));
if
(
lError
!=
ERROR_SUCCESS
)
{
if
(
lError
!=
ERROR_SUCCESS
)
{
ERR
(
"unable to write value for %s under key %s (0x%08
l
x)
\n
"
,
ERR
(
"unable to write value for %s under key %s (0x%08x)
\n
"
,
debugstr_w
(
converterAlias
),
debugstr_w
(
basePriorityKey
),
lError
);
debugstr_w
(
converterAlias
),
debugstr_w
(
basePriorityKey
),
lError
);
}
}
RegCloseKey
(
hPriorityKey
);
RegCloseKey
(
hPriorityKey
);
...
...
dlls/msacm32/msacm32_main.c
View file @
0290eb1f
...
@@ -45,7 +45,7 @@ HINSTANCE MSACM_hInstance32 = 0;
...
@@ -45,7 +45,7 @@ HINSTANCE MSACM_hInstance32 = 0;
*/
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
{
TRACE
(
"%p 0x%
l
x %p
\n
"
,
hInstDLL
,
fdwReason
,
lpvReserved
);
TRACE
(
"%p 0x%x %p
\n
"
,
hInstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
{
switch
(
fdwReason
)
{
case
DLL_PROCESS_ATTACH
:
case
DLL_PROCESS_ATTACH
:
...
@@ -87,7 +87,7 @@ DWORD WINAPI acmGetVersion(void)
...
@@ -87,7 +87,7 @@ DWORD WINAPI acmGetVersion(void)
case
VER_PLATFORM_WIN32_NT
:
case
VER_PLATFORM_WIN32_NT
:
return
0x04000565
;
/* 4.0.1381 */
return
0x04000565
;
/* 4.0.1381 */
default:
default:
FIXME
(
"%
l
x not supported
\n
"
,
version
.
dwPlatformId
);
FIXME
(
"%x not supported
\n
"
,
version
.
dwPlatformId
);
case
VER_PLATFORM_WIN32_WINDOWS
:
case
VER_PLATFORM_WIN32_WINDOWS
:
return
0x04030000
;
/* 4.3.0 */
return
0x04030000
;
/* 4.3.0 */
}
}
...
...
dlls/msacm32/msacm_main.c
View file @
0290eb1f
...
@@ -73,7 +73,7 @@ MMRESULT16 WINAPI acmMetrics16(
...
@@ -73,7 +73,7 @@ MMRESULT16 WINAPI acmMetrics16(
MMRESULT16
WINAPI
acmDriverEnum16
(
MMRESULT16
WINAPI
acmDriverEnum16
(
ACMDRIVERENUMCB16
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
)
ACMDRIVERENUMCB16
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
)
{
{
FIXME
(
"(%p, %
ld, %l
d): stub
\n
"
,
FIXME
(
"(%p, %
d, %
d): stub
\n
"
,
fnCallback
,
dwInstance
,
fdwEnum
fnCallback
,
dwInstance
,
fdwEnum
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
@@ -87,7 +87,7 @@ MMRESULT16 WINAPI acmDriverEnum16(
...
@@ -87,7 +87,7 @@ MMRESULT16 WINAPI acmDriverEnum16(
MMRESULT16
WINAPI
acmDriverDetails16
(
MMRESULT16
WINAPI
acmDriverDetails16
(
HACMDRIVERID16
hadid
,
LPACMDRIVERDETAILS16
padd
,
DWORD
fdwDetails
)
HACMDRIVERID16
hadid
,
LPACMDRIVERDETAILS16
padd
,
DWORD
fdwDetails
)
{
{
FIXME
(
"(0x%04x, %p, %
l
d): stub
\n
"
,
hadid
,
padd
,
fdwDetails
);
FIXME
(
"(0x%04x, %p, %d): stub
\n
"
,
hadid
,
padd
,
fdwDetails
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -99,7 +99,7 @@ MMRESULT16 WINAPI acmDriverAdd16(
...
@@ -99,7 +99,7 @@ MMRESULT16 WINAPI acmDriverAdd16(
LPHACMDRIVERID16
phadid
,
HINSTANCE16
hinstModule
,
LPHACMDRIVERID16
phadid
,
HINSTANCE16
hinstModule
,
LPARAM
lParam
,
DWORD
dwPriority
,
DWORD
fdwAdd
)
LPARAM
lParam
,
DWORD
dwPriority
,
DWORD
fdwAdd
)
{
{
FIXME
(
"(%p, 0x%04x, %ld, %
ld, %l
d): stub
\n
"
,
FIXME
(
"(%p, 0x%04x, %ld, %
d, %
d): stub
\n
"
,
phadid
,
hinstModule
,
lParam
,
dwPriority
,
fdwAdd
phadid
,
hinstModule
,
lParam
,
dwPriority
,
fdwAdd
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
@@ -112,7 +112,7 @@ MMRESULT16 WINAPI acmDriverAdd16(
...
@@ -112,7 +112,7 @@ MMRESULT16 WINAPI acmDriverAdd16(
MMRESULT16
WINAPI
acmDriverRemove16
(
MMRESULT16
WINAPI
acmDriverRemove16
(
HACMDRIVERID16
hadid
,
DWORD
fdwRemove
)
HACMDRIVERID16
hadid
,
DWORD
fdwRemove
)
{
{
FIXME
(
"(0x%04x, %
l
d): stub
\n
"
,
hadid
,
fdwRemove
);
FIXME
(
"(0x%04x, %d): stub
\n
"
,
hadid
,
fdwRemove
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -123,7 +123,7 @@ MMRESULT16 WINAPI acmDriverRemove16(
...
@@ -123,7 +123,7 @@ MMRESULT16 WINAPI acmDriverRemove16(
MMRESULT16
WINAPI
acmDriverOpen16
(
MMRESULT16
WINAPI
acmDriverOpen16
(
LPHACMDRIVER16
phad
,
HACMDRIVERID16
hadid
,
DWORD
fdwOpen
)
LPHACMDRIVER16
phad
,
HACMDRIVERID16
hadid
,
DWORD
fdwOpen
)
{
{
FIXME
(
"(%p, 0x%04x, %
l
d): stub
\n
"
,
phad
,
hadid
,
fdwOpen
);
FIXME
(
"(%p, 0x%04x, %d): stub
\n
"
,
phad
,
hadid
,
fdwOpen
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -134,7 +134,7 @@ MMRESULT16 WINAPI acmDriverOpen16(
...
@@ -134,7 +134,7 @@ MMRESULT16 WINAPI acmDriverOpen16(
MMRESULT16
WINAPI
acmDriverClose16
(
MMRESULT16
WINAPI
acmDriverClose16
(
HACMDRIVER16
had
,
DWORD
fdwClose
)
HACMDRIVER16
had
,
DWORD
fdwClose
)
{
{
FIXME
(
"(0x%04x, %
l
d): stub
\n
"
,
had
,
fdwClose
);
FIXME
(
"(0x%04x, %d): stub
\n
"
,
had
,
fdwClose
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -158,7 +158,7 @@ LRESULT WINAPI acmDriverMessage16(
...
@@ -158,7 +158,7 @@ LRESULT WINAPI acmDriverMessage16(
MMRESULT16
WINAPI
acmDriverID16
(
MMRESULT16
WINAPI
acmDriverID16
(
HACMOBJ16
hao
,
LPHACMDRIVERID16
phadid
,
DWORD
fdwDriverID
)
HACMOBJ16
hao
,
LPHACMDRIVERID16
phadid
,
DWORD
fdwDriverID
)
{
{
FIXME
(
"(0x%04x, %p, %
l
d): stub
\n
"
,
hao
,
phadid
,
fdwDriverID
);
FIXME
(
"(0x%04x, %p, %d): stub
\n
"
,
hao
,
phadid
,
fdwDriverID
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -169,7 +169,7 @@ MMRESULT16 WINAPI acmDriverID16(
...
@@ -169,7 +169,7 @@ MMRESULT16 WINAPI acmDriverID16(
MMRESULT16
WINAPI
acmDriverPriority16
(
MMRESULT16
WINAPI
acmDriverPriority16
(
HACMDRIVERID16
hadid
,
DWORD
dwPriority
,
DWORD
fdwPriority
)
HACMDRIVERID16
hadid
,
DWORD
dwPriority
,
DWORD
fdwPriority
)
{
{
FIXME
(
"(0x%04x, %
ld, %l
d): stub
\n
"
,
FIXME
(
"(0x%04x, %
d, %
d): stub
\n
"
,
hadid
,
dwPriority
,
fdwPriority
hadid
,
dwPriority
,
fdwPriority
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
@@ -182,7 +182,7 @@ MMRESULT16 WINAPI acmDriverPriority16(
...
@@ -182,7 +182,7 @@ MMRESULT16 WINAPI acmDriverPriority16(
MMRESULT16
WINAPI
acmFormatTagDetails16
(
MMRESULT16
WINAPI
acmFormatTagDetails16
(
HACMDRIVER16
had
,
LPACMFORMATTAGDETAILS16
paftd
,
DWORD
fdwDetails
)
HACMDRIVER16
had
,
LPACMFORMATTAGDETAILS16
paftd
,
DWORD
fdwDetails
)
{
{
FIXME
(
"(0x%04x, %p, %
l
d): stub
\n
"
,
had
,
paftd
,
fdwDetails
);
FIXME
(
"(0x%04x, %p, %d): stub
\n
"
,
had
,
paftd
,
fdwDetails
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -194,7 +194,7 @@ MMRESULT16 WINAPI acmFormatTagEnum16(
...
@@ -194,7 +194,7 @@ MMRESULT16 WINAPI acmFormatTagEnum16(
HACMDRIVER16
had
,
LPACMFORMATTAGDETAILS16
paftd
,
HACMDRIVER16
had
,
LPACMFORMATTAGDETAILS16
paftd
,
ACMFORMATTAGENUMCB16
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
)
ACMFORMATTAGENUMCB16
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
)
{
{
FIXME
(
"(0x%04x, %p, %p, %
ld, %l
d): stub
\n
"
,
FIXME
(
"(0x%04x, %p, %p, %
d, %
d): stub
\n
"
,
had
,
paftd
,
fnCallback
,
dwInstance
,
fdwEnum
had
,
paftd
,
fnCallback
,
dwInstance
,
fdwEnum
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
@@ -218,7 +218,7 @@ MMRESULT16 WINAPI acmFormatChoose16(
...
@@ -218,7 +218,7 @@ MMRESULT16 WINAPI acmFormatChoose16(
MMRESULT16
WINAPI
acmFormatDetails16
(
MMRESULT16
WINAPI
acmFormatDetails16
(
HACMDRIVER16
had
,
LPACMFORMATDETAILS16
pafd
,
DWORD
fdwDetails
)
HACMDRIVER16
had
,
LPACMFORMATDETAILS16
pafd
,
DWORD
fdwDetails
)
{
{
FIXME
(
"(0x%04x, %p, %
l
d): stub
\n
"
,
had
,
pafd
,
fdwDetails
);
FIXME
(
"(0x%04x, %p, %d): stub
\n
"
,
had
,
pafd
,
fdwDetails
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -230,7 +230,7 @@ MMRESULT16 WINAPI acmFormatEnum16(
...
@@ -230,7 +230,7 @@ MMRESULT16 WINAPI acmFormatEnum16(
HACMDRIVER16
had
,
LPACMFORMATDETAILS16
pafd
,
HACMDRIVER16
had
,
LPACMFORMATDETAILS16
pafd
,
ACMFORMATENUMCB16
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
)
ACMFORMATENUMCB16
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
)
{
{
FIXME
(
"(0x%04x, %p, %p, %
ld, %l
d): stub
\n
"
,
FIXME
(
"(0x%04x, %p, %p, %
d, %
d): stub
\n
"
,
had
,
pafd
,
fnCallback
,
dwInstance
,
fdwEnum
had
,
pafd
,
fnCallback
,
dwInstance
,
fdwEnum
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
@@ -244,7 +244,7 @@ MMRESULT16 WINAPI acmFormatSuggest16(
...
@@ -244,7 +244,7 @@ MMRESULT16 WINAPI acmFormatSuggest16(
HACMDRIVER16
had
,
LPWAVEFORMATEX
pwfxSrc
,
HACMDRIVER16
had
,
LPWAVEFORMATEX
pwfxSrc
,
LPWAVEFORMATEX
pwfxDst
,
DWORD
cbwfxDst
,
DWORD
fdwSuggest
)
LPWAVEFORMATEX
pwfxDst
,
DWORD
cbwfxDst
,
DWORD
fdwSuggest
)
{
{
FIXME
(
"(0x%04x, %p, %p, %
ld, %l
d): stub
\n
"
,
FIXME
(
"(0x%04x, %p, %p, %
d, %
d): stub
\n
"
,
had
,
pwfxSrc
,
pwfxDst
,
cbwfxDst
,
fdwSuggest
had
,
pwfxSrc
,
pwfxDst
,
cbwfxDst
,
fdwSuggest
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
@@ -257,7 +257,7 @@ MMRESULT16 WINAPI acmFormatSuggest16(
...
@@ -257,7 +257,7 @@ MMRESULT16 WINAPI acmFormatSuggest16(
MMRESULT16
WINAPI
acmFilterTagDetails16
(
MMRESULT16
WINAPI
acmFilterTagDetails16
(
HACMDRIVER16
had
,
LPACMFILTERTAGDETAILS16
paftd
,
DWORD
fdwDetails
)
HACMDRIVER16
had
,
LPACMFILTERTAGDETAILS16
paftd
,
DWORD
fdwDetails
)
{
{
FIXME
(
"(0x%04x, %p, %
l
d): stub
\n
"
,
had
,
paftd
,
fdwDetails
);
FIXME
(
"(0x%04x, %p, %d): stub
\n
"
,
had
,
paftd
,
fdwDetails
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -269,7 +269,7 @@ MMRESULT16 WINAPI acmFilterTagEnum16(
...
@@ -269,7 +269,7 @@ MMRESULT16 WINAPI acmFilterTagEnum16(
HACMDRIVER16
had
,
LPACMFILTERTAGDETAILS16
paftd
,
HACMDRIVER16
had
,
LPACMFILTERTAGDETAILS16
paftd
,
ACMFILTERTAGENUMCB16
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
)
ACMFILTERTAGENUMCB16
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
)
{
{
FIXME
(
"(0x%04x, %p, %p, %
ld, %l
d): stub
\n
"
,
FIXME
(
"(0x%04x, %p, %p, %
d, %
d): stub
\n
"
,
had
,
paftd
,
fnCallback
,
dwInstance
,
fdwEnum
had
,
paftd
,
fnCallback
,
dwInstance
,
fdwEnum
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
@@ -293,7 +293,7 @@ MMRESULT16 WINAPI acmFilterChoose16(
...
@@ -293,7 +293,7 @@ MMRESULT16 WINAPI acmFilterChoose16(
MMRESULT16
WINAPI
acmFilterDetails16
(
MMRESULT16
WINAPI
acmFilterDetails16
(
HACMDRIVER16
had
,
LPACMFILTERDETAILS16
pafd
,
DWORD
fdwDetails
)
HACMDRIVER16
had
,
LPACMFILTERDETAILS16
pafd
,
DWORD
fdwDetails
)
{
{
FIXME
(
"(0x%04x, %p, %
l
d): stub
\n
"
,
had
,
pafd
,
fdwDetails
);
FIXME
(
"(0x%04x, %p, %d): stub
\n
"
,
had
,
pafd
,
fdwDetails
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -305,7 +305,7 @@ MMRESULT16 WINAPI acmFilterEnum16(
...
@@ -305,7 +305,7 @@ MMRESULT16 WINAPI acmFilterEnum16(
HACMDRIVER16
had
,
LPACMFILTERDETAILS16
pafd
,
HACMDRIVER16
had
,
LPACMFILTERDETAILS16
pafd
,
ACMFILTERENUMCB16
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
)
ACMFILTERENUMCB16
fnCallback
,
DWORD
dwInstance
,
DWORD
fdwEnum
)
{
{
FIXME
(
"(0x%04x, %p, %p, %
ld, %l
d): stub
\n
"
,
FIXME
(
"(0x%04x, %p, %p, %
d, %
d): stub
\n
"
,
had
,
pafd
,
fnCallback
,
dwInstance
,
fdwEnum
had
,
pafd
,
fnCallback
,
dwInstance
,
fdwEnum
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
@@ -321,7 +321,7 @@ MMRESULT16 WINAPI acmStreamOpen16(
...
@@ -321,7 +321,7 @@ MMRESULT16 WINAPI acmStreamOpen16(
LPWAVEFILTER
pwfltr
,
DWORD
dwCallback
,
LPWAVEFILTER
pwfltr
,
DWORD
dwCallback
,
DWORD
dwInstance
,
DWORD
fdwOpen
)
DWORD
dwInstance
,
DWORD
fdwOpen
)
{
{
FIXME
(
"(%p, 0x%04x, %p, %p, %p, %
ld, %ld, %l
d): stub
\n
"
,
FIXME
(
"(%p, 0x%04x, %p, %p, %p, %
d, %d, %
d): stub
\n
"
,
phas
,
had
,
pwfxSrc
,
pwfxDst
,
pwfltr
,
phas
,
had
,
pwfxSrc
,
pwfxDst
,
pwfltr
,
dwCallback
,
dwInstance
,
fdwOpen
dwCallback
,
dwInstance
,
fdwOpen
);
);
...
@@ -335,7 +335,7 @@ MMRESULT16 WINAPI acmStreamOpen16(
...
@@ -335,7 +335,7 @@ MMRESULT16 WINAPI acmStreamOpen16(
MMRESULT16
WINAPI
acmStreamClose16
(
MMRESULT16
WINAPI
acmStreamClose16
(
HACMSTREAM16
has
,
DWORD
fdwClose
)
HACMSTREAM16
has
,
DWORD
fdwClose
)
{
{
FIXME
(
"(0x%04x, %
l
d): stub
\n
"
,
has
,
fdwClose
);
FIXME
(
"(0x%04x, %d): stub
\n
"
,
has
,
fdwClose
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -347,7 +347,7 @@ MMRESULT16 WINAPI acmStreamSize16(
...
@@ -347,7 +347,7 @@ MMRESULT16 WINAPI acmStreamSize16(
HACMSTREAM16
has
,
DWORD
cbInput
,
HACMSTREAM16
has
,
DWORD
cbInput
,
LPDWORD
pdwOutputBytes
,
DWORD
fdwSize
)
LPDWORD
pdwOutputBytes
,
DWORD
fdwSize
)
{
{
FIXME
(
"(0x%04x, %
ld, %p, %l
d): stub
\n
"
,
FIXME
(
"(0x%04x, %
d, %p, %
d): stub
\n
"
,
has
,
cbInput
,
pdwOutputBytes
,
fdwSize
has
,
cbInput
,
pdwOutputBytes
,
fdwSize
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
@@ -360,7 +360,7 @@ MMRESULT16 WINAPI acmStreamSize16(
...
@@ -360,7 +360,7 @@ MMRESULT16 WINAPI acmStreamSize16(
MMRESULT16
WINAPI
acmStreamConvert16
(
MMRESULT16
WINAPI
acmStreamConvert16
(
HACMSTREAM16
has
,
LPACMSTREAMHEADER16
pash
,
DWORD
fdwConvert
)
HACMSTREAM16
has
,
LPACMSTREAMHEADER16
pash
,
DWORD
fdwConvert
)
{
{
FIXME
(
"(0x%04x, %p, %
l
d): stub
\n
"
,
has
,
pash
,
fdwConvert
);
FIXME
(
"(0x%04x, %p, %d): stub
\n
"
,
has
,
pash
,
fdwConvert
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -371,7 +371,7 @@ MMRESULT16 WINAPI acmStreamConvert16(
...
@@ -371,7 +371,7 @@ MMRESULT16 WINAPI acmStreamConvert16(
MMRESULT16
WINAPI
acmStreamReset16
(
MMRESULT16
WINAPI
acmStreamReset16
(
HACMSTREAM16
has
,
DWORD
fdwReset
)
HACMSTREAM16
has
,
DWORD
fdwReset
)
{
{
FIXME
(
"(0x%04x, %
l
d): stub
\n
"
,
has
,
fdwReset
);
FIXME
(
"(0x%04x, %d): stub
\n
"
,
has
,
fdwReset
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -382,7 +382,7 @@ MMRESULT16 WINAPI acmStreamReset16(
...
@@ -382,7 +382,7 @@ MMRESULT16 WINAPI acmStreamReset16(
MMRESULT16
WINAPI
acmStreamPrepareHeader16
(
MMRESULT16
WINAPI
acmStreamPrepareHeader16
(
HACMSTREAM16
has
,
LPACMSTREAMHEADER16
pash
,
DWORD
fdwPrepare
)
HACMSTREAM16
has
,
LPACMSTREAMHEADER16
pash
,
DWORD
fdwPrepare
)
{
{
FIXME
(
"(0x%04x, %p, %
l
d): stub
\n
"
,
has
,
pash
,
fdwPrepare
);
FIXME
(
"(0x%04x, %p, %d): stub
\n
"
,
has
,
pash
,
fdwPrepare
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
MMSYSERR_ERROR
;
return
MMSYSERR_ERROR
;
}
}
...
@@ -393,7 +393,7 @@ MMRESULT16 WINAPI acmStreamPrepareHeader16(
...
@@ -393,7 +393,7 @@ MMRESULT16 WINAPI acmStreamPrepareHeader16(
MMRESULT16
WINAPI
acmStreamUnprepareHeader16
(
MMRESULT16
WINAPI
acmStreamUnprepareHeader16
(
HACMSTREAM16
has
,
LPACMSTREAMHEADER16
pash
,
DWORD
fdwUnprepare
)
HACMSTREAM16
has
,
LPACMSTREAMHEADER16
pash
,
DWORD
fdwUnprepare
)
{
{
FIXME
(
"(0x%04x, %p, %
l
d): stub
\n
"
,
FIXME
(
"(0x%04x, %p, %d): stub
\n
"
,
has
,
pash
,
fdwUnprepare
has
,
pash
,
fdwUnprepare
);
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
...
dlls/msacm32/pcmconverter.c
View file @
0290eb1f
This diff is collapsed.
Click to expand it.
dlls/msacm32/stream.c
View file @
0290eb1f
...
@@ -58,7 +58,7 @@ MMRESULT WINAPI acmStreamClose(HACMSTREAM has, DWORD fdwClose)
...
@@ -58,7 +58,7 @@ MMRESULT WINAPI acmStreamClose(HACMSTREAM has, DWORD fdwClose)
PWINE_ACMSTREAM
was
;
PWINE_ACMSTREAM
was
;
MMRESULT
ret
;
MMRESULT
ret
;
TRACE
(
"(%p, %
l
d)
\n
"
,
has
,
fdwClose
);
TRACE
(
"(%p, %d)
\n
"
,
has
,
fdwClose
);
if
((
was
=
ACM_GetStream
(
has
))
==
NULL
)
{
if
((
was
=
ACM_GetStream
(
has
))
==
NULL
)
{
WARN
(
"invalid handle
\n
"
);
WARN
(
"invalid handle
\n
"
);
...
@@ -84,7 +84,7 @@ MMRESULT WINAPI acmStreamConvert(HACMSTREAM has, PACMSTREAMHEADER pash,
...
@@ -84,7 +84,7 @@ MMRESULT WINAPI acmStreamConvert(HACMSTREAM has, PACMSTREAMHEADER pash,
MMRESULT
ret
=
MMSYSERR_NOERROR
;
MMRESULT
ret
=
MMSYSERR_NOERROR
;
PACMDRVSTREAMHEADER
padsh
;
PACMDRVSTREAMHEADER
padsh
;
TRACE
(
"(%p, %p, %
l
d)
\n
"
,
has
,
pash
,
fdwConvert
);
TRACE
(
"(%p, %p, %d)
\n
"
,
has
,
pash
,
fdwConvert
);
if
((
was
=
ACM_GetStream
(
has
))
==
NULL
)
{
if
((
was
=
ACM_GetStream
(
has
))
==
NULL
)
{
WARN
(
"invalid handle
\n
"
);
WARN
(
"invalid handle
\n
"
);
...
@@ -152,7 +152,7 @@ MMRESULT WINAPI acmStreamOpen(PHACMSTREAM phas, HACMDRIVER had, PWAVEFORMATEX pw
...
@@ -152,7 +152,7 @@ MMRESULT WINAPI acmStreamOpen(PHACMSTREAM phas, HACMDRIVER had, PWAVEFORMATEX pw
int
wfxDstSize
;
int
wfxDstSize
;
WAVEFORMATEX
wfxSrc
,
wfxDst
;
WAVEFORMATEX
wfxSrc
,
wfxDst
;
TRACE
(
"(%p, %p, %p, %p, %p, %
ld, %ld, %l
d)
\n
"
,
TRACE
(
"(%p, %p, %p, %p, %p, %
d, %d, %
d)
\n
"
,
phas
,
had
,
pwfxSrc
,
pwfxDst
,
pwfltr
,
dwCallback
,
dwInstance
,
fdwOpen
);
phas
,
had
,
pwfxSrc
,
pwfxDst
,
pwfltr
,
dwCallback
,
dwInstance
,
fdwOpen
);
/* NOTE: pwfxSrc and/or pwfxDst can point to a structure smaller than
/* NOTE: pwfxSrc and/or pwfxDst can point to a structure smaller than
...
@@ -171,11 +171,11 @@ MMRESULT WINAPI acmStreamOpen(PHACMSTREAM phas, HACMDRIVER had, PWAVEFORMATEX pw
...
@@ -171,11 +171,11 @@ MMRESULT WINAPI acmStreamOpen(PHACMSTREAM phas, HACMDRIVER had, PWAVEFORMATEX pw
pwfxDst
=
&
wfxDst
;
pwfxDst
=
&
wfxDst
;
}
}
TRACE
(
"src [wFormatTag=%u, nChannels=%u, nSamplesPerSec=%
lu, nAvgBytesPerSec=%l
u, nBlockAlign=%u, wBitsPerSample=%u, cbSize=%u]
\n
"
,
TRACE
(
"src [wFormatTag=%u, nChannels=%u, nSamplesPerSec=%
u, nAvgBytesPerSec=%
u, nBlockAlign=%u, wBitsPerSample=%u, cbSize=%u]
\n
"
,
pwfxSrc
->
wFormatTag
,
pwfxSrc
->
nChannels
,
pwfxSrc
->
nSamplesPerSec
,
pwfxSrc
->
nAvgBytesPerSec
,
pwfxSrc
->
wFormatTag
,
pwfxSrc
->
nChannels
,
pwfxSrc
->
nSamplesPerSec
,
pwfxSrc
->
nAvgBytesPerSec
,
pwfxSrc
->
nBlockAlign
,
pwfxSrc
->
wBitsPerSample
,
pwfxSrc
->
cbSize
);
pwfxSrc
->
nBlockAlign
,
pwfxSrc
->
wBitsPerSample
,
pwfxSrc
->
cbSize
);
TRACE
(
"dst [wFormatTag=%u, nChannels=%u, nSamplesPerSec=%
lu, nAvgBytesPerSec=%l
u, nBlockAlign=%u, wBitsPerSample=%u, cbSize=%u]
\n
"
,
TRACE
(
"dst [wFormatTag=%u, nChannels=%u, nSamplesPerSec=%
u, nAvgBytesPerSec=%
u, nBlockAlign=%u, wBitsPerSample=%u, cbSize=%u]
\n
"
,
pwfxDst
->
wFormatTag
,
pwfxDst
->
nChannels
,
pwfxDst
->
nSamplesPerSec
,
pwfxDst
->
nAvgBytesPerSec
,
pwfxDst
->
wFormatTag
,
pwfxDst
->
nChannels
,
pwfxDst
->
nSamplesPerSec
,
pwfxDst
->
nAvgBytesPerSec
,
pwfxDst
->
nBlockAlign
,
pwfxDst
->
wBitsPerSample
,
pwfxDst
->
cbSize
);
pwfxDst
->
nBlockAlign
,
pwfxDst
->
wBitsPerSample
,
pwfxDst
->
cbSize
);
...
@@ -296,7 +296,7 @@ MMRESULT WINAPI acmStreamPrepareHeader(HACMSTREAM has, PACMSTREAMHEADER pash,
...
@@ -296,7 +296,7 @@ MMRESULT WINAPI acmStreamPrepareHeader(HACMSTREAM has, PACMSTREAMHEADER pash,
MMRESULT
ret
=
MMSYSERR_NOERROR
;
MMRESULT
ret
=
MMSYSERR_NOERROR
;
PACMDRVSTREAMHEADER
padsh
;
PACMDRVSTREAMHEADER
padsh
;
TRACE
(
"(%p, %p, %
l
d)
\n
"
,
has
,
pash
,
fdwPrepare
);
TRACE
(
"(%p, %p, %d)
\n
"
,
has
,
pash
,
fdwPrepare
);
if
((
was
=
ACM_GetStream
(
has
))
==
NULL
)
{
if
((
was
=
ACM_GetStream
(
has
))
==
NULL
)
{
WARN
(
"invalid handle
\n
"
);
WARN
(
"invalid handle
\n
"
);
...
@@ -360,7 +360,7 @@ MMRESULT WINAPI acmStreamReset(HACMSTREAM has, DWORD fdwReset)
...
@@ -360,7 +360,7 @@ MMRESULT WINAPI acmStreamReset(HACMSTREAM has, DWORD fdwReset)
PWINE_ACMSTREAM
was
;
PWINE_ACMSTREAM
was
;
MMRESULT
ret
=
MMSYSERR_NOERROR
;
MMRESULT
ret
=
MMSYSERR_NOERROR
;
TRACE
(
"(%p, %
l
d)
\n
"
,
has
,
fdwReset
);
TRACE
(
"(%p, %d)
\n
"
,
has
,
fdwReset
);
if
(
fdwReset
)
{
if
(
fdwReset
)
{
WARN
(
"invalid flag
\n
"
);
WARN
(
"invalid flag
\n
"
);
...
@@ -385,7 +385,7 @@ MMRESULT WINAPI acmStreamSize(HACMSTREAM has, DWORD cbInput,
...
@@ -385,7 +385,7 @@ MMRESULT WINAPI acmStreamSize(HACMSTREAM has, DWORD cbInput,
ACMDRVSTREAMSIZE
adss
;
ACMDRVSTREAMSIZE
adss
;
MMRESULT
ret
;
MMRESULT
ret
;
TRACE
(
"(%p, %
ld, %p, %l
d)
\n
"
,
has
,
cbInput
,
pdwOutputBytes
,
fdwSize
);
TRACE
(
"(%p, %
d, %p, %
d)
\n
"
,
has
,
cbInput
,
pdwOutputBytes
,
fdwSize
);
if
((
was
=
ACM_GetStream
(
has
))
==
NULL
)
{
if
((
was
=
ACM_GetStream
(
has
))
==
NULL
)
{
WARN
(
"invalid handle
\n
"
);
WARN
(
"invalid handle
\n
"
);
...
@@ -426,7 +426,7 @@ MMRESULT WINAPI acmStreamSize(HACMSTREAM has, DWORD cbInput,
...
@@ -426,7 +426,7 @@ MMRESULT WINAPI acmStreamSize(HACMSTREAM has, DWORD cbInput,
break
;
break
;
}
}
}
}
TRACE
(
"=> (%d) [%
l
u]
\n
"
,
ret
,
*
pdwOutputBytes
);
TRACE
(
"=> (%d) [%u]
\n
"
,
ret
,
*
pdwOutputBytes
);
return
ret
;
return
ret
;
}
}
...
@@ -440,7 +440,7 @@ MMRESULT WINAPI acmStreamUnprepareHeader(HACMSTREAM has, PACMSTREAMHEADER pash,
...
@@ -440,7 +440,7 @@ MMRESULT WINAPI acmStreamUnprepareHeader(HACMSTREAM has, PACMSTREAMHEADER pash,
MMRESULT
ret
=
MMSYSERR_NOERROR
;
MMRESULT
ret
=
MMSYSERR_NOERROR
;
PACMDRVSTREAMHEADER
padsh
;
PACMDRVSTREAMHEADER
padsh
;
TRACE
(
"(%p, %p, %
l
d)
\n
"
,
has
,
pash
,
fdwUnprepare
);
TRACE
(
"(%p, %p, %d)
\n
"
,
has
,
pash
,
fdwUnprepare
);
if
((
was
=
ACM_GetStream
(
has
))
==
NULL
)
{
if
((
was
=
ACM_GetStream
(
has
))
==
NULL
)
{
WARN
(
"invalid handle
\n
"
);
WARN
(
"invalid handle
\n
"
);
...
...
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