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
aa68258b
Commit
aa68258b
authored
Jun 30, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few %ll printf formats.
parent
0cf9bd9c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
loaderstream.c
dlls/dmloader/loaderstream.c
+9
-9
instrument.c
dlls/dmusic/instrument.c
+1
-1
videorenderer.c
dlls/quartz/videorenderer.c
+3
-1
No files found.
dlls/dmloader/loaderstream.c
View file @
aa68258b
...
...
@@ -147,9 +147,9 @@ static HRESULT WINAPI IDirectMusicLoaderFileStream_IStream_Seek (LPSTREAM iface,
ICOM_THIS_MULTI
(
IDirectMusicLoaderFileStream
,
StreamVtbl
,
iface
);
LARGE_INTEGER
liNewPos
;
TRACE_
(
dmfileraw
)(
"(%p, 0x%08llX, %s, %p)
\n
"
,
This
,
dlibMove
.
QuadPart
,
resolve_STREAM_SEEK
(
dwOrigin
),
plibNewPosition
);
TRACE_
(
dmfileraw
)(
"(%p, %s, %s, %p)
\n
"
,
This
,
wine_dbgstr_longlong
(
dlibMove
.
QuadPart
)
,
resolve_STREAM_SEEK
(
dwOrigin
),
plibNewPosition
);
if
(
This
->
hFile
==
INVALID_HANDLE_VALUE
)
return
E_FAIL
;
if
(
This
->
hFile
==
INVALID_HANDLE_VALUE
)
return
E_FAIL
;
liNewPos
.
u
.
HighPart
=
dlibMove
.
u
.
HighPart
;
liNewPos
.
u
.
LowPart
=
SetFilePointer
(
This
->
hFile
,
dlibMove
.
u
.
LowPart
,
&
liNewPos
.
u
.
HighPart
,
dwOrigin
);
...
...
@@ -314,7 +314,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicLoaderFileStream (LPVOID* ppobj) {
HRESULT
WINAPI
IDirectMusicLoaderResourceStream_Attach
(
LPSTREAM
iface
,
LPBYTE
pbMemData
,
LONGLONG
llMemLength
,
LONGLONG
llPos
,
LPDIRECTMUSICLOADER8
pLoader
)
{
ICOM_THIS_MULTI
(
IDirectMusicLoaderResourceStream
,
StreamVtbl
,
iface
);
TRACE
(
"(%p, %p,
0x%08llX, 0x%08llx, %p)
\n
"
,
This
,
pbMemData
,
llMemLength
,
llPos
,
pLoader
);
TRACE
(
"(%p, %p,
%s, %s, %p)
\n
"
,
This
,
pbMemData
,
wine_dbgstr_longlong
(
llMemLength
),
wine_dbgstr_longlong
(
llPos
)
,
pLoader
);
if
(
!
pbMemData
||
!
llMemLength
)
{
WARN
(
": invalid pbMemData or llMemLength
\n
"
);
return
E_FAIL
;
...
...
@@ -398,7 +398,7 @@ static HRESULT WINAPI IDirectMusicLoaderResourceStream_IStream_Read (LPSTREAM if
static
HRESULT
WINAPI
IDirectMusicLoaderResourceStream_IStream_Seek
(
LPSTREAM
iface
,
LARGE_INTEGER
dlibMove
,
DWORD
dwOrigin
,
ULARGE_INTEGER
*
plibNewPosition
)
{
ICOM_THIS_MULTI
(
IDirectMusicLoaderResourceStream
,
StreamVtbl
,
iface
);
TRACE_
(
dmfileraw
)(
"(%p,
0x%08llX, %s, %p)
\n
"
,
This
,
dlibMove
.
QuadPart
,
resolve_STREAM_SEEK
(
dwOrigin
),
plibNewPosition
);
TRACE_
(
dmfileraw
)(
"(%p,
%s, %s, %p)
\n
"
,
This
,
wine_dbgstr_longlong
(
dlibMove
.
QuadPart
)
,
resolve_STREAM_SEEK
(
dwOrigin
),
plibNewPosition
);
switch
(
dwOrigin
)
{
case
STREAM_SEEK_CUR
:
{
...
...
@@ -647,7 +647,7 @@ static HRESULT WINAPI IDirectMusicLoaderGenericStream_IStream_Read (LPSTREAM ifa
static
HRESULT
WINAPI
IDirectMusicLoaderGenericStream_IStream_Seek
(
LPSTREAM
iface
,
LARGE_INTEGER
dlibMove
,
DWORD
dwOrigin
,
ULARGE_INTEGER
*
plibNewPosition
)
{
ICOM_THIS_MULTI
(
IDirectMusicLoaderGenericStream
,
StreamVtbl
,
iface
);
TRACE_
(
dmfileraw
)(
"(%p,
0x%08llX, %s, %p): redirecting to low-level stream
\n
"
,
This
,
dlibMove
.
QuadPart
,
resolve_STREAM_SEEK
(
dwOrigin
),
plibNewPosition
);
TRACE_
(
dmfileraw
)(
"(%p,
%s, %s, %p): redirecting to low-level stream
\n
"
,
This
,
wine_dbgstr_longlong
(
dlibMove
.
QuadPart
)
,
resolve_STREAM_SEEK
(
dwOrigin
),
plibNewPosition
);
if
(
!
This
->
pStream
)
return
E_FAIL
;
...
...
@@ -685,7 +685,7 @@ static HRESULT WINAPI IDirectMusicLoaderGenericStream_IStream_Write (LPSTREAM if
static
HRESULT
WINAPI
IDirectMusicLoaderGenericStream_IStream_SetSize
(
LPSTREAM
iface
,
ULARGE_INTEGER
libNewSize
)
{
ICOM_THIS_MULTI
(
IDirectMusicLoaderGenericStream
,
StreamVtbl
,
iface
);
TRACE
(
"(%p,
0x%08llX): redirecting to low-level stream
\n
"
,
This
,
libNewSize
.
QuadPart
);
TRACE
(
"(%p,
%s): redirecting to low-level stream
\n
"
,
This
,
wine_dbgstr_longlong
(
libNewSize
.
QuadPart
)
);
if
(
!
This
->
pStream
)
return
E_FAIL
;
...
...
@@ -694,7 +694,7 @@ static HRESULT WINAPI IDirectMusicLoaderGenericStream_IStream_SetSize (LPSTREAM
static
HRESULT
WINAPI
IDirectMusicLoaderGenericStream_IStream_CopyTo
(
LPSTREAM
iface
,
IStream
*
pstm
,
ULARGE_INTEGER
cb
,
ULARGE_INTEGER
*
pcbRead
,
ULARGE_INTEGER
*
pcbWritten
)
{
ICOM_THIS_MULTI
(
IDirectMusicLoaderGenericStream
,
StreamVtbl
,
iface
);
TRACE
(
"(%p, %p,
0x%08llX, %p, %p): redirecting to low-level stream
\n
"
,
This
,
pstm
,
cb
.
QuadPart
,
pcbRead
,
pcbWritten
);
TRACE
(
"(%p, %p,
%s, %p, %p): redirecting to low-level stream
\n
"
,
This
,
pstm
,
wine_dbgstr_longlong
(
cb
.
QuadPart
)
,
pcbRead
,
pcbWritten
);
if
(
!
This
->
pStream
)
return
E_FAIL
;
...
...
@@ -721,7 +721,7 @@ static HRESULT WINAPI IDirectMusicLoaderGenericStream_IStream_Revert (LPSTREAM i
static
HRESULT
WINAPI
IDirectMusicLoaderGenericStream_IStream_LockRegion
(
LPSTREAM
iface
,
ULARGE_INTEGER
libOffset
,
ULARGE_INTEGER
cb
,
DWORD
dwLockType
)
{
ICOM_THIS_MULTI
(
IDirectMusicLoaderGenericStream
,
StreamVtbl
,
iface
);
TRACE
(
"(%p,
0x%08llX, 0x%08llX, 0x%08X): redirecting to low-level stream
\n
"
,
This
,
libOffset
.
QuadPart
,
cb
.
QuadPart
,
dwLockType
);
TRACE
(
"(%p,
%s, %s, 0x%08X): redirecting to low-level stream
\n
"
,
This
,
wine_dbgstr_longlong
(
libOffset
.
QuadPart
),
wine_dbgstr_longlong
(
cb
.
QuadPart
)
,
dwLockType
);
if
(
!
This
->
pStream
)
return
E_FAIL
;
...
...
@@ -730,7 +730,7 @@ static HRESULT WINAPI IDirectMusicLoaderGenericStream_IStream_LockRegion (LPSTRE
static
HRESULT
WINAPI
IDirectMusicLoaderGenericStream_IStream_UnlockRegion
(
LPSTREAM
iface
,
ULARGE_INTEGER
libOffset
,
ULARGE_INTEGER
cb
,
DWORD
dwLockType
)
{
ICOM_THIS_MULTI
(
IDirectMusicLoaderGenericStream
,
StreamVtbl
,
iface
);
TRACE
(
"(%p,
0x%08llX, 0x%08llX, 0x%08X): redirecting to low-level stream
\n
"
,
This
,
libOffset
.
QuadPart
,
cb
.
QuadPart
,
dwLockType
);
TRACE
(
"(%p,
%s, %s, 0x%08X): redirecting to low-level stream
\n
"
,
This
,
wine_dbgstr_longlong
(
libOffset
.
QuadPart
),
wine_dbgstr_longlong
(
cb
.
QuadPart
)
,
dwLockType
);
if
(
!
This
->
pStream
)
return
E_FAIL
;
...
...
dlls/dmusic/instrument.c
View file @
aa68258b
...
...
@@ -150,7 +150,7 @@ HRESULT WINAPI IDirectMusicInstrumentImpl_Custom_Load (LPDIRECTMUSICINSTRUMENT i
DWORD
ListSize
[
4
],
ListCount
[
4
];
LARGE_INTEGER
liMove
;
/* used when skipping chunks */
TRACE
(
"(%p, %p, offset =
0x%04llx)
\n
"
,
This
,
pStm
,
This
->
liInstrumentPosition
.
QuadPart
);
TRACE
(
"(%p, %p, offset =
%s)
\n
"
,
This
,
pStm
,
wine_dbgstr_longlong
(
This
->
liInstrumentPosition
.
QuadPart
)
);
/* goto the beginning of chunk */
IStream_Seek
(
pStm
,
This
->
liInstrumentPosition
,
STREAM_SEEK_SET
,
NULL
);
...
...
dlls/quartz/videorenderer.c
View file @
aa68258b
...
...
@@ -444,7 +444,9 @@ static HRESULT VideoRenderer_Sample(LPVOID iface, IMediaSample * pSample)
}
else
if
(
time
>
trefstop
)
{
TRACE
(
"Dropping sample: Time: %lld ms trefstop: %lld ms!
\n
"
,
time
/
10000
,
trefstop
/
10000
);
TRACE
(
"Dropping sample: Time: %u.%03u ms trefstop: %u.%03u ms!
\n
"
,
(
DWORD
)(
time
/
10000000
),
(
DWORD
)((
time
/
10000
)
%
1000
),
(
DWORD
)(
trefstop
/
10000000
),
(
DWORD
)((
trefstop
/
10000
)
%
1000
)
);
This
->
rtLastStop
=
tStop
;
return
S_OK
;
}
...
...
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