Fixed another PlaySound bug (when SND_LOOP is requested).
This commit is contained in:
parent
e3bd1361f1
commit
80884be68c
|
@ -549,10 +549,11 @@ static DWORD WINAPI proc_PlaySound(LPVOID arg)
|
|||
goto errCleanUp;
|
||||
}
|
||||
|
||||
s.dwEventCount = 1L; /* for first buffer */
|
||||
|
||||
do {
|
||||
index = 0;
|
||||
left = mmckInfo.cksize;
|
||||
s.dwEventCount = 1L; /* for first buffer */
|
||||
|
||||
mmioSeek(hmmio, mmckInfo.dwDataOffset, SEEK_SET);
|
||||
while (left)
|
||||
|
|
Loading…
Reference in New Issue