mirror of https://github.com/mpv-player/mpv
10l fixes sync?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8658 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c0b1f8e2dc
commit
9a7aac86cd
|
@ -59,7 +59,7 @@ static void CALLBACK waveOutProc(HWAVEOUT hWaveOut,UINT uMsg,DWORD dwInstance,
|
||||||
if(uMsg != WOM_DONE)
|
if(uMsg != WOM_DONE)
|
||||||
return;
|
return;
|
||||||
if(full_buffers==0) return; //no more data buffered!
|
if(full_buffers==0) return; //no more data buffered!
|
||||||
buffered_bytes=0; //buffer is empty
|
buffered_bytes-=BUFFER_SIZE;
|
||||||
--full_buffers;
|
--full_buffers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue