diff options
author | Alfred E. Heggestad <aeh@db.org> | 2014-11-15 21:56:34 +0100 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2014-11-15 21:56:34 +0100 |
commit | da35d1b236ad2d0d4596c39980304c8a2b4f2c90 (patch) | |
tree | 1a78fc45d9f52be02ee2ce4097363fa9be63fc13 /modules | |
parent | 0edf1df8783b8b8d407f972666a7108c2bbee220 (diff) |
winwave: use READ_BUFFERS-1 instead of 3
Diffstat (limited to 'modules')
-rw-r--r-- | modules/winwave/src.c | 2 |
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); |