summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-08-14 15:25:17 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-08-14 15:25:17 +0000
commit25f6541696d68d1393e64dd376191adcb21456b2 (patch)
tree99ef490dd1051945d0d6010b45a035e1d401ce3d /usr.bin
parent7bce8770ba482e778d45b7a01db877f990b64a10 (diff)
fix comments suggested by eric@, remove stupid DPRINTF()
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/aucat/abuf.h4
-rw-r--r--usr.bin/aucat/dev.c3
2 files changed, 3 insertions, 4 deletions
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 <alex@caoua.org>
*
@@ -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 <alex@caoua.org>
*
@@ -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