summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod/dev.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2014-03-17 17:16:07 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2014-03-17 17:16:07 +0000
commit34459019cb82907ca1edf96e0721ad6636ad098d (patch)
tree57463334de07055844858614df580a237a82d6bd /usr.bin/sndiod/dev.h
parent6f93e46107fcb9be9e862c8dc375614a24cdaaff (diff)
unbreak monitoring mode, which was shifted in time by 1 block
Diffstat (limited to 'usr.bin/sndiod/dev.h')
-rw-r--r--usr.bin/sndiod/dev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/sndiod/dev.h b/usr.bin/sndiod/dev.h
index cc2f51ea59a..da4edb673b5 100644
--- a/usr.bin/sndiod/dev.h
+++ b/usr.bin/sndiod/dev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev.h,v 1.7 2014/03/07 10:23:05 ratchov Exp $ */
+/* $OpenBSD: dev.h,v 1.8 2014/03/17 17:16:06 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -113,6 +113,7 @@ struct dev {
adata_t *pbuf; /* array of play buffers */
#define DEV_PBUF(d) ((d)->pbuf + (d)->poffs * (d)->pchan)
int poffs; /* index of current play buf */
+ int psize; /* size of play buffer */
struct conv enc; /* native->device format */
struct conv dec; /* device->native format */
unsigned char *encbuf; /* buffer for encoding */