dsound: Fix the declaration/definition of DSOUND_timer().
This commit is contained in:
parent
bc2e37ba44
commit
0f08667c8a
|
@ -445,7 +445,7 @@ void DSOUND_WaveQueue(DirectSoundDevice *device, DWORD mixq);
|
|||
void DSOUND_RecalcVolPan(PDSVOLUMEPAN volpan);
|
||||
void DSOUND_AmpFactorToVolPan(PDSVOLUMEPAN volpan);
|
||||
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);
|
||||
|
||||
/* sound3d.c */
|
||||
|
|
|
@ -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;
|
||||
DWORD start_time = GetTickCount();
|
||||
|
|
Loading…
Reference in New Issue