summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/sock.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-02-06 08:29:36 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-02-06 08:29:36 +0000
commit117ed0ef4e9743ebe151aedf4c04c0957c90fd28 (patch)
tree378b05e37c96db3ed7a9fc1fad165b7c1662bd18 /usr.bin/aucat/sock.h
parentab1f036c3ce84d881366ec56ce777caa5d20ee41 (diff)
simplify the clock tick messages generation code and ensuire that
the first clock tick (ie the start tick) is not lost
Diffstat (limited to 'usr.bin/aucat/sock.h')
-rw-r--r--usr.bin/aucat/sock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/aucat/sock.h b/usr.bin/aucat/sock.h
index 9b19d2dbd39..9d0dd2f2597 100644
--- a/usr.bin/aucat/sock.h
+++ b/usr.bin/aucat/sock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sock.h,v 1.4 2008/11/16 18:34:56 ratchov Exp $ */
+/* $OpenBSD: sock.h,v 1.5 2009/02/06 08:29:35 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -45,8 +45,8 @@ struct sock {
unsigned mode; /* a set of AMSG_PLAY, AMSG_REC */
struct aparams rpar; /* read (ie play) parameters */
struct aparams wpar; /* write (ie rec) parameters */
- int idelta; /* input (rec) pos. change to send */
- int odelta; /* output (play) pos. change to send */
+ int delta; /* pos. change to send */
+ int tickpending; /* delta waiting to be transmitted */
unsigned bufsz; /* total buffer size */
unsigned round; /* block size */
unsigned xrun; /* one of AMSG_IGNORE, ... */