=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/aucat/Attic/sock.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- src/usr.bin/aucat/Attic/sock.c 2010/01/10 21:47:41 1.37 +++ src/usr.bin/aucat/Attic/sock.c 2010/01/11 13:06:32 1.38 @@ -1,4 +1,4 @@ -/* $OpenBSD: sock.c,v 1.37 2010/01/10 21:47:41 ratchov Exp $ */ +/* $OpenBSD: sock.c,v 1.38 2010/01/11 13:06:32 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov * @@ -834,8 +834,8 @@ } if (AMSG_ISSET(p->appbufsz)) { rate = (f->mode & AMSG_PLAY) ? f->rpar.rate : f->wpar.rate; - min = 1; - max = 1 + rate / dev_round; + min = 2; + max = 2 + rate / dev_round; min *= f->round; max *= f->round; p->appbufsz += f->round - 1;