summaryrefslogtreecommitdiff
path: root/modules/winwave
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-11-15 21:56:34 +0100
committerAlfred E. Heggestad <aeh@db.org>2014-11-15 21:56:34 +0100
commitda35d1b236ad2d0d4596c39980304c8a2b4f2c90 (patch)
tree1a78fc45d9f52be02ee2ce4097363fa9be63fc13 /modules/winwave
parent0edf1df8783b8b8d407f972666a7108c2bbee220 (diff)
winwave: use READ_BUFFERS-1 instead of 3
Diffstat (limited to 'modules/winwave')
-rw-r--r--modules/winwave/src.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/winwave/src.c b/modules/winwave/src.c
index c671176..f480213 100644
--- a/modules/winwave/src.c
+++ b/modules/winwave/src.c
@@ -102,7 +102,7 @@ static void CALLBACK waveInCallback(HWAVEOUT hwo,
break;
case WIM_DATA:
- if (st->inuse < 3)
+ if (st->inuse < (READ_BUFFERS-1))
add_wave_in(st);
st->rh((void *)wh->lpData, wh->dwBytesRecorded/2, st->arg);