http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fabbebf
)
winmm: Fix sum of available samples.
author
Jörg Höhle
<hoehle@users.sourceforge.net>
Fri, 23 Sep 2011 08:24:13 +0000
(10:24 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 26 Sep 2011 16:09:24 +0000
(18:09 +0200)
dlls/winmm/waveform.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/winmm/waveform.c
b/dlls/winmm/waveform.c
index 1152f61a045728d4f516d6998680478a90816fb5..8567352458fff6f6c301b90a6bfdffa4ffbdd9ed 100644
(file)
--- a/
dlls/winmm/waveform.c
+++ b/
dlls/winmm/waveform.c
@@
-1329,8
+1329,7
@@
static void WOD_PushData(WINMM_Device *device)
nloops = 0;
while(queue && queue_frames < avail_frames){
queue_bytes = WINMM_HeaderLenBytes(device, queue);
- queue_frames = (queue_bytes - ofs) / device->bytes_per_frame;
-
+ queue_frames += (queue_bytes - ofs) / device->bytes_per_frame;
ofs = 0;
if(queue->dwFlags & WHDR_ENDLOOP && nloops < device->loop_counter){