dsound: Fix CheckEvent in mixer.

oldstable
Maarten Lankhorst 2007-07-12 12:38:29 +02:00 committed by Alexandre Julliard
parent f94114a88d
commit 59a5669a97
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ static DWORD DSOUND_MixOne(IDirectSoundBufferImpl *dsb, DWORD playpos, DWORD wri
/* check for notification positions */
if (dsb->dsbd.dwFlags & DSBCAPS_CTRLPOSITIONNOTIFY &&
dsb->state != STATE_STARTING) {
DSOUND_CheckEvent(dsb, writepos, mixlen);
DSOUND_CheckEvent(dsb, writepos, mixlen / dsb->device->pwfx->nBlockAlign * dsb->pwfx->nBlockAlign);
}
/* increase mix position */