dsound: Fix the declaration/definition of DSOUND_timer().

This commit is contained in:
Michael Stefaniuc 2006-11-12 14:39:11 +01:00 committed by Alexandre Julliard
parent bc2e37ba44
commit 0f08667c8a
2 changed files with 3 additions and 2 deletions

View File

@ -445,7 +445,7 @@ void DSOUND_WaveQueue(DirectSoundDevice *device, DWORD mixq);
void DSOUND_RecalcVolPan(PDSVOLUMEPAN volpan); void DSOUND_RecalcVolPan(PDSVOLUMEPAN volpan);
void DSOUND_AmpFactorToVolPan(PDSVOLUMEPAN volpan); void DSOUND_AmpFactorToVolPan(PDSVOLUMEPAN volpan);
void DSOUND_RecalcFormat(IDirectSoundBufferImpl *dsb); void DSOUND_RecalcFormat(IDirectSoundBufferImpl *dsb);
void CALLBACK DSOUND_timer(UINT timerID, UINT msg, DWORD dwUser, DWORD dw1, DWORD 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 dwUser, DWORD dw1, DWORD dw2);
/* sound3d.c */ /* sound3d.c */

View File

@ -1107,7 +1107,8 @@ static void DSOUND_PerformMix(DirectSoundDevice *device)
} }
} }
void CALLBACK DSOUND_timer(UINT timerID, UINT msg, DWORD dwUser, DWORD dw1, DWORD dw2) void CALLBACK DSOUND_timer(UINT timerID, UINT msg, DWORD_PTR dwUser,
DWORD_PTR dw1, DWORD_PTR dw2)
{ {
DirectSoundDevice * device = (DirectSoundDevice*)dwUser; DirectSoundDevice * device = (DirectSoundDevice*)dwUser;
DWORD start_time = GetTickCount(); DWORD start_time = GetTickCount();