dsound: 64-bit pointer fixes.
This commit is contained in:
parent
cdc377c1b4
commit
6b6b8d9bfa
|
@ -456,7 +456,7 @@ void DSOUND_MixToTemporary(const IDirectSoundBufferImpl *dsb, DWORD writepos, DW
|
||||||
DWORD DSOUND_secpos_to_bufpos(const IDirectSoundBufferImpl *dsb, DWORD secpos, DWORD secmixpos, DWORD* overshot);
|
DWORD DSOUND_secpos_to_bufpos(const IDirectSoundBufferImpl *dsb, DWORD secpos, DWORD secmixpos, DWORD* overshot);
|
||||||
|
|
||||||
void CALLBACK DSOUND_timer(UINT timerID, UINT msg, DWORD_PTR dwUser, DWORD_PTR dw1, DWORD_PTR dw2);
|
void CALLBACK DSOUND_timer(UINT timerID, UINT msg, DWORD_PTR dwUser, DWORD_PTR dw1, DWORD_PTR dw2);
|
||||||
void CALLBACK DSOUND_callback(HWAVEOUT hwo, UINT msg, DWORD dwUser, DWORD dw1, DWORD dw2);
|
void CALLBACK DSOUND_callback(HWAVEOUT hwo, UINT msg, DWORD_PTR dwUser, DWORD_PTR dw1, DWORD_PTR dw2);
|
||||||
|
|
||||||
/* sound3d.c */
|
/* sound3d.c */
|
||||||
|
|
||||||
|
|
|
@ -1026,10 +1026,10 @@ void CALLBACK DSOUND_timer(UINT timerID, UINT msg, DWORD_PTR dwUser,
|
||||||
TRACE("completed processing at %d, duration = %d\n", end_time, end_time - start_time);
|
TRACE("completed processing at %d, duration = %d\n", end_time, end_time - start_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CALLBACK DSOUND_callback(HWAVEOUT hwo, UINT msg, DWORD dwUser, DWORD dw1, DWORD dw2)
|
void CALLBACK DSOUND_callback(HWAVEOUT hwo, UINT msg, DWORD_PTR dwUser, DWORD_PTR dw1, DWORD_PTR dw2)
|
||||||
{
|
{
|
||||||
DirectSoundDevice * device = (DirectSoundDevice*)dwUser;
|
DirectSoundDevice * device = (DirectSoundDevice*)dwUser;
|
||||||
TRACE("(%p,%x,%x,%x,%x)\n",hwo,msg,dwUser,dw1,dw2);
|
TRACE("(%p,%x,%lx,%lx,%lx)\n",hwo,msg,dwUser,dw1,dw2);
|
||||||
TRACE("entering at %d, msg=%08x(%s)\n", GetTickCount(), msg,
|
TRACE("entering at %d, msg=%08x(%s)\n", GetTickCount(), msg,
|
||||||
msg==MM_WOM_DONE ? "MM_WOM_DONE" : msg==MM_WOM_CLOSE ? "MM_WOM_CLOSE" :
|
msg==MM_WOM_DONE ? "MM_WOM_DONE" : msg==MM_WOM_CLOSE ? "MM_WOM_CLOSE" :
|
||||||
msg==MM_WOM_OPEN ? "MM_WOM_OPEN" : "UNKNOWN");
|
msg==MM_WOM_OPEN ? "MM_WOM_OPEN" : "UNKNOWN");
|
||||||
|
|
Loading…
Reference in New Issue