From: Giovanni Mascellani gmascellani@codeweavers.com
Similarly to the previous commit, the state can never be STARTING at that place. --- dlls/dsound/mixer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index 6a96f4b10f0..552e11fc361 100644 --- a/dlls/dsound/mixer.c +++ b/dlls/dsound/mixer.c @@ -548,8 +548,7 @@ static DWORD DSOUND_MixInBuffer(IDirectSoundBufferImpl *dsb, float *mix_buffer, }
/* check for notification positions */ - if (dsb->dsbd.dwFlags & DSBCAPS_CTRLPOSITIONNOTIFY && - dsb->state != STATE_STARTING) { + if (dsb->dsbd.dwFlags & DSBCAPS_CTRLPOSITIONNOTIFY) { INT ilen = DSOUND_BufPtrDiff(dsb->buflen, dsb->sec_mixpos, oldpos); DSOUND_CheckEvent(dsb, oldpos, ilen); }