From: ratchov Date: Thu, 14 Aug 2008 15:25:16 +0000 (+0000) Subject: fix comments suggested by eric@, remove stupid DPRINTF() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1aae76604d61403f4c1e1132547edd0a7b1decc3;p=openbsd fix comments suggested by eric@, remove stupid DPRINTF() --- diff --git a/usr.bin/aucat/abuf.h b/usr.bin/aucat/abuf.h index 71be396016b..e214eb132e7 100644 --- a/usr.bin/aucat/abuf.h +++ b/usr.bin/aucat/abuf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: abuf.h,v 1.7 2008/08/14 09:46:36 ratchov Exp $ */ +/* $OpenBSD: abuf.h,v 1.8 2008/08/14 15:25:16 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov * @@ -51,7 +51,7 @@ struct abuf { unsigned len; /* size of the ring */ unsigned abspos; /* frame number of the start position */ unsigned silence; /* silence to insert on next write */ - unsigned drop; /* frames to drop on next read */ + unsigned drop; /* bytes to drop on next read */ struct aproc *rproc; /* reader */ struct aproc *wproc; /* writer */ unsigned char *data; /* actual data (immediately following) */ diff --git a/usr.bin/aucat/dev.c b/usr.bin/aucat/dev.c index 808450aa0c7..225ed6ed377 100644 --- a/usr.bin/aucat/dev.c +++ b/usr.bin/aucat/dev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.c,v 1.1 2008/08/14 09:58:55 ratchov Exp $ */ +/* $OpenBSD: dev.c,v 1.2 2008/08/14 15:25:16 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov * @@ -461,7 +461,6 @@ dev_attach(char *name, ibuf->silence += -delta * ibuf->bpf; } if (ibuf && (dev_mix->u.mix.flags & MIX_DROP)) { - DPRINTF("lmkqsjdlkqsjklqsd\n"); /* * fill the play buffer with silence to avoid underruns, * drop samples on the input to keep play/record in sync