Stefan Leichter : dmsynth: Print 64bit integers with wine_dbgstr_longlong.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Sep 12 07:30:14 CDT 2006


Module: wine
Branch: master
Commit: b8d3c99d4b50d78427a540c0a8e04433d128fe79
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=b8d3c99d4b50d78427a540c0a8e04433d128fe79

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Mon Sep 11 22:51:14 2006 +0200

dmsynth: Print 64bit integers with wine_dbgstr_longlong.

---

 dlls/dmsynth/synth.c     |   10 ++++++----
 dlls/dmsynth/synthsink.c |    4 ++--
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/dlls/dmsynth/synth.c b/dlls/dmsynth/synth.c
index b099017..ad052c2 100644
--- a/dlls/dmsynth/synth.c
+++ b/dlls/dmsynth/synth.c
@@ -96,7 +96,7 @@ static HRESULT WINAPI IDirectMusicSynth8
 
 static HRESULT WINAPI IDirectMusicSynth8Impl_PlayBuffer (LPDIRECTMUSICSYNTH8 iface, REFERENCE_TIME rt, LPBYTE pbBuffer, DWORD cbBuffer) {
 	IDirectMusicSynth8Impl *This = (IDirectMusicSynth8Impl *)iface;
-	FIXME("(%p, %lli, %p, %ld): stub\n", This, rt, pbBuffer, cbBuffer);
+	FIXME("(%p, 0x%s, %p, %ld): stub\n", This, wine_dbgstr_longlong(rt), pbBuffer, cbBuffer);
 	return S_OK;
 }
 
@@ -142,7 +142,7 @@ static HRESULT WINAPI IDirectMusicSynth8
 
 static HRESULT WINAPI IDirectMusicSynth8Impl_Render (LPDIRECTMUSICSYNTH8 iface, short* pBuffer, DWORD dwLength, LONGLONG llPosition) {
 	IDirectMusicSynth8Impl *This = (IDirectMusicSynth8Impl *)iface;
-	FIXME("(%p, %p, %ld, %lli): stub\n", This, pBuffer, dwLength, llPosition);
+	FIXME("(%p, %p, %ld, 0x%s): stub\n", This, pBuffer, dwLength, wine_dbgstr_longlong(llPosition));
 	return S_OK;
 }
 
@@ -174,13 +174,15 @@ static HRESULT WINAPI IDirectMusicSynth8
 /* IDirectMusicSynth8Impl IDirectMusicSynth8 part: */
 static HRESULT WINAPI IDirectMusicSynth8Impl_PlayVoice (LPDIRECTMUSICSYNTH8 iface, REFERENCE_TIME rt, DWORD dwVoiceId, DWORD dwChannelGroup, DWORD dwChannel, DWORD dwDLId, long prPitch, long vrVolume, SAMPLE_TIME stVoiceStart, SAMPLE_TIME stLoopStart, SAMPLE_TIME stLoopEnd) {
 	IDirectMusicSynth8Impl *This = (IDirectMusicSynth8Impl *)iface;
-	FIXME("(%p, %lli, %ld, %ld, %ld, %ld, %li, %li,%lli, %lli, %lli): stub\n", This, rt, dwVoiceId, dwChannelGroup, dwChannel, dwDLId, prPitch, vrVolume, stVoiceStart, stLoopStart, stLoopEnd);
+	FIXME("(%p, 0x%s, %ld, %ld, %ld, %ld, %li, %li,0x%s, 0x%s, 0x%s): stub\n",
+	    This, wine_dbgstr_longlong(rt), dwVoiceId, dwChannelGroup, dwChannel, dwDLId, prPitch, vrVolume,
+	    wine_dbgstr_longlong(stVoiceStart), wine_dbgstr_longlong(stLoopStart), wine_dbgstr_longlong(stLoopEnd));
 	return S_OK;
 }
 
 static HRESULT WINAPI IDirectMusicSynth8Impl_StopVoice (LPDIRECTMUSICSYNTH8 iface, REFERENCE_TIME rt, DWORD dwVoiceId) {
 	IDirectMusicSynth8Impl *This = (IDirectMusicSynth8Impl *)iface;
-	FIXME("(%p, %lli, %ld): stub\n", This, rt, dwVoiceId);
+	FIXME("(%p, 0x%s, %ld): stub\n", This, wine_dbgstr_longlong(rt), dwVoiceId);
 	return S_OK;
 }
 
diff --git a/dlls/dmsynth/synthsink.c b/dlls/dmsynth/synthsink.c
index ed9ae71..a9f7099 100644
--- a/dlls/dmsynth/synthsink.c
+++ b/dlls/dmsynth/synthsink.c
@@ -89,13 +89,13 @@ static HRESULT WINAPI IDirectMusicSynthS
 
 static HRESULT WINAPI IDirectMusicSynthSinkImpl_SampleToRefTime (LPDIRECTMUSICSYNTHSINK iface, LONGLONG llSampleTime, REFERENCE_TIME* prfTime) {
 	IDirectMusicSynthSinkImpl *This = (IDirectMusicSynthSinkImpl *)iface;
-	FIXME("(%p, %lli, %p): stub\n", This, llSampleTime, prfTime);
+	FIXME("(%p, 0x%s, %p): stub\n", This, wine_dbgstr_longlong(llSampleTime), prfTime);
 	return S_OK;
 }
 
 static HRESULT WINAPI IDirectMusicSynthSinkImpl_RefTimeToSample (LPDIRECTMUSICSYNTHSINK iface, REFERENCE_TIME rfTime, LONGLONG* pllSampleTime) {
 	IDirectMusicSynthSinkImpl *This = (IDirectMusicSynthSinkImpl *)iface;
-	FIXME("(%p, %lli, %p): stub\n", This, rfTime, pllSampleTime );
+	FIXME("(%p, 0x%s, %p): stub\n", This, wine_dbgstr_longlong(rfTime), pllSampleTime );
 	return S_OK;
 }
 




More information about the wine-cvs mailing list